Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [JDBC] Patch for Statement.getGeneratedKeys()

From: Kris Jurka <books(at)ejurka.com>
Date: Tue Jan 15 2008 - 02:27:46 EST

On Tue, 15 Jan 2008, Ken Johanson wrote:

> Ken Johanson wrote:
>> Do you know how we can get the current schema name? I presumed it might
>> appear in SHOW ALL, but not so.
>>
>
> Answer: select current_schema() :-)
>

False, as I explained earlier there is no current schema. Have a read of this:

http://www.postgresql.org/docs/8.2/static/ddl-schemas.html#DDL-SCHEMAS-PATH

You need to look through the schemas in the search_path in order and see which one a table with the given name appears in first.

Kris Jurka

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to majordomo@postgresql.org so that your
       message can get through to the mailing list cleanly
Received on Tue Jan 15 02:29:43 2008

This archive was generated by hypermail 2.1.8 : Wed Jun 18 2008 - 23:42:51 EDT

Do you need help?X

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library