Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

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

From: Tom Lane <tgl(at)sss.pgh.pa.us>
Date: Tue Jan 15 2008 - 10:32:10 EST


Kris Jurka <books@ejurka.com> writes:
> 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.

I've lost track of the context in which this needs to be done, but in some cases a cast to or from regclass offers a painless way to disambiguate table names. Just a suggestion ...

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at
                
http://www.postgresql.org/about/donate
Received on Tue Jan 15 10:34:03 2008

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


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