Re: [HACKERS] PQfnumber and quoted identifiers - Mailing list pgsql-interfaces

From Matthew T. O'Connor
Subject Re: [HACKERS] PQfnumber and quoted identifiers
Date
Msg-id 1065376568.1775.1.camel@newdell
Whole thread Raw
In response to Re: [HACKERS] PQfnumber and quoted identifiers  (Andreas Pflug <pgadmin@pse-consulting.de>)
List pgsql-interfaces
On Sun, 2003-10-05 at 13:43, Andreas Pflug wrote:
> Tom Lane wrote:
> >So other than the shortlived 6.2 release, releases before 6.5 had the
> >behavior Peter wants.  I find it interesting that it took more than a
> >year for anyone to notice that the putative dequoting+downcasing logic
> >installed for 6.3 didn't work.
> >
> pgAdmin3 beta testers found it...
> 
> If you change it, please give me a chance to code it version-aware so 
> quoting/non-quoting can be performed dependent on libpq in use.

Is there a reason why it can't accecpt both formats?  That way PQfname
and PQfnumber could be inverses of each other.  The only wart is that
PQfnumber would also accecpt the "\"Bar\"" format also.



pgsql-interfaces by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: [HACKERS] PQfnumber and quoted identifiers
Next
From: Tom Lane
Date:
Subject: Re: Embedded SQL: Putting a guard around included stdio.h for convenience