case sensitivity in PQExecPrepared

From: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: case sensitivity in PQExecPrepared
Date: 2004-07-16 19:56:32
Message-ID: 6EE64EF3AB31D5448D0007DD34EEB34101AEE4@Herge.rcsinc.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I noticed a curious thing (not sure if by design or not).

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.

Just FYI.
Merlin

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Pflug 2004-07-16 20:26:29 Re: serverlog rotation/functions
Previous Message Bruce Momjian 2004-07-16 18:38:41 Re: serverlog rotation/functions