Re: Schemas: status report, call for developers

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Schemas: status report, call for developers
Date: 2002-05-06 19:51:18
Message-ID: 18038.1020714678@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces

"Nigel J. Andrews" <nandrews(at)investsystems(dot)co(dot)uk> writes:
> I also got it wrong about when the temporary space is emptied. I had been
> thinking it was when the connection terminated. However, I see from the same
> old message that this happens when the first temporary item is created in a
> session. Therefore, my way would be invalid anyway; or would it?

It would work as long as the variant form of current_schemas() truly
reflects the effective search path --- because until you create a
temporary item, there is no temp schema in the effective path.

Still, the issue of hiding seems to be a good reason not to code
clients that way.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Joe Conway 2002-05-06 20:22:05 Re: a couple of minor itches: RI Trigger Names, and additional
Previous Message Nigel J. Andrews 2002-05-06 19:12:52 Re: Schemas: status report, call for developers

Browse pgsql-interfaces by date

  From Date Subject
Next Message jtv 2002-05-06 20:35:37 Re: Using C functions with triggers
Previous Message Nigel J. Andrews 2002-05-06 19:12:52 Re: Schemas: status report, call for developers