Proposed patch to remove USERLIMIT

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-patches(at)postgreSQL(dot)org
Subject: Proposed patch to remove USERLIMIT
Date: 2004-11-10 23:53:03
Message-ID: 1916.1100130783@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

The attached patch removes GUC's USERLIMIT variable category, changing
all the affected variables to be plain SUSET, as per recent discussion.

I also modified postgres.c so that variable settings coming from the
client connection request packet (eg, from PGOPTIONS on the client side)
are processed only after we have determined whether the user is a
superuser. This allows a superuser to set SUSET options from PGOPTIONS,
which has never worked before.

I consider this to be a lot cleaner and more flexible than what we have
now. Comments?

regards, tom lane

Attachment Content-Type Size
no-userlimit.patch.gz application/octet-stream 10.1 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2004-11-11 00:35:01 Re: delete obsolete comment
Previous Message Andrew Dunstan 2004-11-10 23:10:46 multiline CSV fields