Re: debugging prepared statements

Поиск
Список
Период
Сортировка
От Richard Welty
Тема Re: debugging prepared statements
Дата
Msg-id E18hsAL-00084z-00@skipper.averillpark.net
обсуждение исходный текст
Ответ на Re: debugging prepared statements  (Kris Jurka <books@ejurka.com>)
Список pgsql-jdbc
On Sun, 9 Feb 2003 04:31:19 -0500 (EST) Kris Jurka <books@ejurka.com> wrote:

>
> >>From your original message it appears that either update_core_variables
> should be set to one less, or you should use field_index++ instead of
> ++field_index.

i investigated that. the discrepancy is by more than one, and the parallel,
generally similar insert code is working properly. if both were broken, i'd
agree, but in this case...

> You might also consider updating the JDBC driver at some point.  The
> Statement.toString method was recently corrected to display the actual
> statement you're working on.  This hasn't made it into any of the
> prebuilt jar files on jdbc.postgresql.org, but perhaps soon.

lacking time to pursue this right now, i've retained the working prepared
statement for select (that being the only way to bring arrays in), but have
bagged the prepared statemens for output. i'll try again when the prebuilt
jars are updated.

richard
--
Richard Welty                                         rwelty@averillpark.net
Averill Park Networking                                         518-573-7592
              Unix, Linux, IP Network Engineering, Security

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: debugging prepared statements
Следующее
От: Michael Adler
Дата:
Сообщение: Re: patch for COPY