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

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

From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "Patches" <pgsql-patches(at)postgresql(dot)org>
Subject: fix for acls with usernames that have " characters in them.
Date: 2003-08-11 04:32:15
Message-ID: 16de01c35fc1$8bc13dd0$2800a8c0@mars (view raw or flat)
Thread:
Lists: pgsql-patches
This patch seems to address all the problems with usernames with double
quotes in them.  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...

I've done lots of dumping and loading with usernames like [\,"- _ *<> '\,\
\" \' = \" -%,*&^% and I haven't managed to break it yet.  However, whomever
commits this patch should check my logic carefully, and especially check
that I have allowed properly for malloc() space for the extra characters and
stuff.

Cheers,

Chris

Attachment: acl.txt
Description: text/plain (11.8 KB)

Responses

pgsql-patches by date

Next:From: Neil ConwayDate: 2003-08-11 05:22:39
Subject: Re: logging enhancements, minor code cleanup
Previous:From: Andrew DunstanDate: 2003-08-10 22:19:05
Subject: Re: logging enhancements, minor code cleanup

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