Tom Lane wrote: > Bruce Momjian <[EMAIL PROTECTED]> writes: > > /* Limit non-superuser changes */ > > if (record->context == PGC_USERLIMIT && > > source > PGC_S_UNPRIVILEGED && > > newval < conf->session_val && > ^^^^^^^^^^^ > > I had in mind s/session_val/reset_val/ right here. Why wouldn't that > work?
Yes, I have been thinking of that. The big question is whether a non-super user can control the reset value? I don't know the answer, so I didn't take the chance. Does anyone know? I assume Peter does and was hoping for his help on this before we go 7.4 final. -- Bruce Momjian | http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 ---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings