Re: case sensitivity in PQExecPrepared - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: case sensitivity in PQExecPrepared
Date
Msg-id 200407162240.13282.peter_e@gmx.net
Whole thread Raw
In response to case sensitivity in PQExecPrepared  ("Merlin Moncure" <merlin.moncure@rcsonline.com>)
List 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/



pgsql-hackers by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: serverlog rotation/functions
Next
From: "Merlin Moncure"
Date:
Subject: Re: case sensitivity in PQExecPrepared