Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Interfaces Jdbc > Re: Patch for S...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 7 Topic 1866 of 1984
Post > Topic >>

Re: Patch for Statement.getGeneratedKeys()

by books@[EMAIL PROTECTED] (Kris Jurka) Jan 15, 2008 at 02:27 AM

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@[EMAIL PROTECTED]
 so that your
       message can get through to the mailing list cleanly




 7 Posts in Topic:
Re: Patch for Statement.getGeneratedKeys()
books@[EMAIL PROTECTED]   2008-01-15 02:27:46 
Re: Patch for Statement.getGeneratedKeys()
tgl@[EMAIL PROTECTED] (T  2008-01-15 10:32:10 
Re: Patch for Statement.getGeneratedKeys()
pg-user@[EMAIL PROTECTED]  2008-01-16 00:09:29 
Re: Patch for Statement.getGeneratedKeys()
tgl@[EMAIL PROTECTED] (T  2008-01-16 02:38:37 
Re: Patch for Statement.getGeneratedKeys()
pg-user@[EMAIL PROTECTED]  2008-01-16 01:12:13 
Re: Patch for Statement.getGeneratedKeys()
tgl@[EMAIL PROTECTED] (T  2008-01-16 10:01:58 
Re: Patch for Statement.getGeneratedKeys()
tivvpgsqljdbc@[EMAIL PROT  2008-01-16 11:30:22 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Fri Jul 4 9:41:42 CDT 2008.