Re: Prepared Statements

From: Fernando Nasser <fnasser(at)redhat(dot)com>
To: Aaron Mulder <ammulder(at)alumni(dot)princeton(dot)edu>
Cc: PostgreSQL JDBC <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Prepared Statements
Date: 2003-07-19 15:03:54
Message-ID: 3F195DDA.9090401@redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

To keep things simple, wouldn't it be reasonable to test the last SQL
fragment and see if it ends in " IN" (trimmed and case insensitively)
and use the parenthesis notation instead of the array one? I don't
think we can have a PostgreSQL array as the argument of an IN clause anyway.

--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser(at)redhat(dot)com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tom Lane 2003-07-20 04:42:17 Re: column doesn't get calculated - updated
Previous Message Dave Cramer 2003-07-19 15:00:28 Re: jdbc batch performance problem