Re: [HACKERS] PQescapeIdentifier

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] PQescapeIdentifier
Date: 2006-06-27 01:34:37
Message-ID: 200606270134.k5R1Yba03830@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Tom Lane wrote:
> Bruce Momjian <bruce(at)momjian(dot)us> writes:
> >> * Add PQescapeIdentifier() to libpq
>
> > Updated patch applied. Thanks.
>
> Have either of you inquired into the encoding-safety of this code?
> It certainly looks like no consideration was given for that.

I thought of that but I assume we were not accepting user-supplied
identifiers for this --- that this was only for application use. Am I
wrong?

--
Bruce Momjian bruce(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-06-27 01:39:57 Re: [HACKERS] PQescapeIdentifier
Previous Message Tom Lane 2006-06-27 01:25:57 Re: [HACKERS] PQescapeIdentifier

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2006-06-27 01:39:57 Re: [HACKERS] PQescapeIdentifier
Previous Message Tom Lane 2006-06-27 01:25:57 Re: [HACKERS] PQescapeIdentifier