Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group