Re: case sensitivity in PQExecPrepared

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: case sensitivity in PQExecPrepared
Date: 2004-07-16 20:40:13
Message-ID: 200407162240.13282.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Merlin Moncure wrote:
> While using the PQExecPrepared interface, the statement name passed
> to the function (as a const char*) has to be in lower case to get it
> to work. I kind of understand why this is, but it is kind of weird
> that passing the exact same statement name to PQExecPrepared and
> PREPARE does not work if it contains any upper case characters.

PQExecPrepared is used in C programs, PREPARE is used in SQL programs.
I think it's fairly obvious that those use different syntax rules.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Gaetano Mendola 2004-07-16 20:40:21 unused variable
Previous Message Andreas Pflug 2004-07-16 20:26:29 Re: serverlog rotation/functions