Re: [SQL] Does PG have a database

2006-05-22 Thread Achilleus Mantzios
O Mark Fenbers έγραψε στις May 22, 2006 : > I have working PostgreSQL databases on 3 of my ~30 Linux boxes. I want > my software to be able to determine which of my 30 boxes have functional > databases on them. Since Pg is part of the baseline distro, merely > checking for the existence of an

[SQL] i need information regarding schema

2006-05-22 Thread Penchalaiah P.
Hi good morning to every one…..   I am using pgAdmin to gui for postgresql…I want to know how to create schema in pgAdmin and how to set roles …….   Thanks  &  Regards Penchal reddy | Software Engineer    Infinite Computer Solutions | Exciting Times…Infinite Possibilities...

Re: [SQL] Question on UNION

2006-05-22 Thread Markus Schaber
Hi, Mark, [EMAIL PROTECTED] schrieb: > I ran into something I wasn't expecting while developing a new > application. I have two similar tables that are occasionally unioned > pulling only about 3 fields from each. During my testing phase I > noticed that the union statement was returning what a

[SQL] Question on UNION

2006-05-22 Thread mark.dingee
Everyone, I ran into something I wasn't expecting while developing a new application. I have two similar tables that are occasionally unioned pulling only about 3 fields from each. During my testing phase I noticed that the union statement was returning what appeared to be a distinct list rat

Re: [SQL] Does PG have a database

2006-05-22 Thread Manlio Perillo
Mark Fenbers ha scritto: > I have working PostgreSQL databases on 3 of my ~30 Linux boxes. I want > my software to be able to determine which of my 30 boxes have functional > databases on them. Since Pg is part of the baseline distro, merely > checking for the existence of an executable doesn't s

Re: [SQL] Does PG have a database

2006-05-22 Thread Markus Schaber
Hi, Mark, Mark Fenbers schrieb: > Bottom line: What trick can I use to determine whether a box has a > living, breathing Pg database if I don't know the DB owner? If all your Postmasters run on the default port, use nmap on the port, so you see that postmasters are running there. When they run,

[SQL] Does PG have a database

2006-05-22 Thread Mark Fenbers
I have working PostgreSQL databases on 3 of my ~30 Linux boxes. I want my software to be able to determine which of my 30 boxes have functional databases on them. Since Pg is part of the baseline distro, merely checking for the existence of an executable doesn't solve my problem. I tried loo

Re: [SQL] insert related data into two tables

2006-05-22 Thread Patrick JACQUOT
[EMAIL PROTECTED] wrote: Hello, I have two tables like these: TABLE_1: people registry fields: ID_T1, SURNAME, NAME ID_T1 is primary key TABLE_2: work groups fields: ID_T2, TASK ID_T2 is foreign key related to ID_T1 the first table is the list of employees, the second the task. Sometime I