bizgres - bizgres: Fix DROP RESOURCE QUEUE so that it destroys the in

From: markir(at)pgfoundry(dot)org (User Markir)
To: pgsql-committers(at)postgresql(dot)org
Subject: bizgres - bizgres: Fix DROP RESOURCE QUEUE so that it destroys the in
Date: 2006-10-04 04:02:23
Message-ID: 20061004040224.12B7386CC0F@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix DROP RESOURCE QUEUE so that it destroys the in memory queue along with
the catalog queue object. This does mean that it is possible to have foot gun
moments via ALTER ROLE ... RESOURCE QUEUE <none> for a connected user and then
DROP RESOURCE QUEUE on the role's queue. However this is no worse IMHO than
being able to do DROP ROLE on a role that is correctly connected!

Modified Files:
--------------
bizgres/postgresql/src/backend/utils/resscheduler:
resqueue.c (r1.7 -> r1.8)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/src/backend/utils/resscheduler/resqueue.c.diff?r1=1.7&r2=1.8)
resscheduler.c (r1.6 -> r1.7)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/src/backend/utils/resscheduler/resscheduler.c.diff?r1=1.6&r2=1.7)
bizgres/postgresql/src/include/utils:
resscheduler.h (r1.6 -> r1.7)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/src/include/utils/resscheduler.h.diff?r1=1.6&r2=1.7)

Browse pgsql-committers by date

  From Date Subject
Next Message User Mario__ 2006-10-04 06:28:39 webtranslator - l10n: A query to get the file content was modified,
Previous Message Bruce Momjian 2006-10-04 00:30:14 pgsql: pgindent run for 8.2.