pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fernando Nasser <fnasser@redhat.com>
To: Aaron Mulder <ammulder@alumni.princeton.edu>
Cc: PostgreSQL JDBC <pgsql-jdbc@postgresql.org>
Subject: Re: Prepared Statements
Date: Sat, 19 Jul 2003 11:03:54 -0400
Message-ID: <3F195DDA.9090401@redhat.com> (raw)
References: <Pine.LNX.4.44.0307190255460.26002-100000@www.princetongames.org>

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@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9




view thread (105+ messages)  latest in thread

Message-ID: <3F195DDA.9090401@redhat.com>
Permalink:  ../3F195DDA.9090401@redhat.com/
Also on:    postgresql.org/message-id/3F195DDA.9090401@redhat.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: fnasser@redhat.com, ammulder@alumni.princeton.edu
  Subject: Re: Prepared Statements
  In-Reply-To: <3F195DDA.9090401@redhat.com>
  References: <Pine.LNX.4.44.0307190255460.26002-100000@www.princetongames.org> <3F195DDA.9090401@redhat.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox