Re: Patch for Statement.getGeneratedKeys()

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: Ken Johanson <pg-user(at)kensystem(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Patch for Statement.getGeneratedKeys()
Date: 2008-01-15 15:32:10
Message-ID: 23685.1200411130@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-jdbc

Kris Jurka <books(at)ejurka(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Luca Arzeni 2008-01-15 15:32:12 varchar sort ordering ignore blanks
Previous Message Stefan Schwarzer 2008-01-15 15:12:28 Re: Forgot to dump old data before re-installing machine

Browse pgsql-jdbc by date

  From Date Subject
Next Message Josh Berkus 2008-01-16 02:45:46 Re: [sfpug] PostgreSQL + Java devlopers wanted for JavaOne
Previous Message mp.rajkhowa 2008-01-15 09:44:36 Updation is not commiting