Re: fix for acls with usernames that have " characters in them.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
Cc: "Patches" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: fix for acls with usernames that have " characters in them.
Date: 2003-08-14 14:22:27
Message-ID: 1417.1060870947@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

"Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au> writes:
> This patch seems to address all the problems with usernames with double
> quotes in them.

Applied, thanks.

> The only thing I'm worried about is what happens when you
> run pg_dump now against old versions of postgres that don't use the new
> quoting rules...

AFAICS the patch would only change behavior if a username in an ACL list
contains adjacent double quotes, which seems pretty unlikely considering
the other problems a DBA would find with double quotes in user names in
older versions. So I'm not too worried.

regards, tom lane

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Christopher Kings-Lynne 2003-08-14 15:08:09 Re: fix for acls with usernames that have " characters in
Previous Message Tom Lane 2003-08-14 10:55:40 Re: [BUGS] 7.4 beta 1: SET log_statement=false