Re: [GENERAL] Naive schema questions

2004-05-27 Thread Tom Lane
<[EMAIL PROTECTED]> writes: > And where do tables created with "CREATE LOCAL TEMPORARY TABLE..." fit > into this, like if say a local temp table where created that has the same > name as an existing normal (i.e., not a local temp) table? Temp tables live in a schema that is effectively inserted in

Re: [GENERAL] Naive schema questions

2004-05-27 Thread Jan Wieck
On 5/27/2004 6:03 PM, Rory Campbell-Lange wrote: Just a question on this, Jan. Would one expect UNIONS for this sort of work? I just did this which is useful anyway: schematest=> SELECT (select count(id) from b.messages) + (select count(id) from a.messages);

Re: [GENERAL] Naive schema questions

2004-05-27 Thread Rory Campbell-Lange
Fabulous stuff! I am so delighted I chose Postgresql a couple of year ago. Thank you for the valuable insights. A comment or two below: On 27/05/04, Peter Eisentraut ([EMAIL PROTECTED]) wrote: > Am Donnerstag, 27. Mai 2004 13:15 schrieb Rory Campbell-Lange: > > I imagined schemas might allow me to

Re: [GENERAL] Naive schema questions

2004-05-27 Thread btober
> On 5/27/2004 7:15 AM, Rory Campbell-Lange wrote: > >> seems to suggest that the functions are schema specific. > > It is even better. The property that set's your "schema context" is > called search_path. This contains a list of schema names. For an > unqualified (schema name not explicitly give

Re: [GENERAL] Naive schema questions

2004-05-27 Thread Nick Barr
- Original Message - From: "Peter Eisentraut" <[EMAIL PROTECTED]> To: "Rory Campbell-Lange" <[EMAIL PROTECTED]> Cc: "Postgresql General List" <[EMAIL PROTECTED]> Sent: Thursday, May 27, 2004 1:10 PM Subject: Re: [GENERAL] Naive schema questio