[COMMITTERS] bizgres - bizgres: Initial commit for resource scheduling (aka statement

2006-08-18 Thread User Markir
Log Message: --- Initial commit for resource scheduling (aka statement queuing). Code is still WIP, lacking any user space commands, and without deadlocking checking for the resource locks at all. Modified Files: -- bizgres/postgresql/src/backend/access/transam: xa

[COMMITTERS] bizgres - bizgres: New Directory

2006-08-18 Thread User Markir
Update of /cvsroot/bizgres/bizgres/postgresql/src/backend/utils/resscheduler In directory pgfoundry.org:/tmp/cvs-serv54793/src/backend/utils/resscheduler Log Message: Directory /cvsroot/bizgres/bizgres/postgresql/src/backend/utils/resscheduler added to the repository ---

[COMMITTERS] bizgres - bizgres: New Directory

2006-08-19 Thread User Markir
Update of /cvsroot/bizgres/bizgres/postgresql/contrib/pg_kill In directory pgfoundry.org:/tmp/cvs-serv75145/pg_kill Log Message: Directory /cvsroot/bizgres/bizgres/postgresql/contrib/pg_kill added to the repository ---(end of broadcast)--- TIP 6:

[COMMITTERS] bizgres - bizgres: Add contrib module pg_kill discussed previously but

2006-08-19 Thread User Markir
Log Message: --- Add contrib module pg_kill discussed previously but not commited (suspect everyone waiting for me, and I didn't have commit access...) Module adds the pg_terminate_backend function together with a pair of views which make remote cancel and terminate painless (perhaps too

[COMMITTERS] bizgres - bizgres: Fix warning from pg_terminate_backend.c during

2006-08-19 Thread User Markir
Log Message: --- Fix warning from pg_terminate_backend.c during compile - caused by a typo. Standardize formatting in contrib directory Makefile. Modified Files: -- bizgres/postgresql/contrib: Makefile (r1.2 -> r1.3) (http://cvs.pgfoundry.org/cgi-bin/cvswe

[COMMITTERS] bizgres - bizgres: Adopt a more coherent layout for this file.

2006-08-21 Thread User Markir
Log Message: --- Adopt a more coherent layout for this file. Discuss the data structures and functions a little. Correct the E-R diagram (!) Correct some typos (probably still some lurking). Modified Files: -- bizgres/postgresql/src/backend/utils/resscheduler: READM

[COMMITTERS] bizgres - bizgres: Add primitive deadlock detection code.

2006-08-27 Thread User Markir
Log Message: --- Add primitive deadlock detection code. This is achieved by calling the standard deadlock detector and treating resource locks like exclusive standard locks. The downside is overly aggressive detection - however safety is the initial goal. The resource lock and proclock has

[COMMITTERS] bizgres - bizgres: Add administration commands for resource queues.

2006-08-31 Thread User Markir
Log Message: --- Add administration commands for resource queues. The queues themselves are managed by CREATE|ALTER RESOURCE QUEUE xxx ACTIVE THRESHOLD x1 COST THRESHOLD x2 plus DROP RESOURCE QUEUE xxx. . There are additions to the various ROLE commands to manage the associated queue - CRE

[COMMITTERS] bizgres - bizgres: Add commands to administer resource queues

2006-08-31 Thread User Markir
Log Message: --- Add commands to administer resource queues (continued). ...and the new files with the commands implemented! Added Files: --- bizgres/postgresql/src/backend/commands: queue.c (r1.1) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/p

[COMMITTERS] bizgres - bizgres: Update and correct the README to provide a more

2006-09-05 Thread User Markir
Log Message: --- Update and correct the README to provide a more complete picture. Modified Files: -- bizgres/postgresql/src/backend/utils/resscheduler: README (r1.4 -> r1.5) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/src/backen

[COMMITTERS] bizgres - bizgres: Resource scheduling added a new catalog -

2006-09-06 Thread User Markir
Log Message: --- Resource scheduling added a new catalog - pg_resqueue, fix the regression test expected files to take this into account. Modified Files: -- bizgres/postgresql/src/test/regress/expected: rules.out (r1.1.1.3.2.1 -> r1.2) (http://cvs.pgfoundry

[COMMITTERS] bizgres - bizgres: Use a hash table for the (in memory) resource queues.

2006-09-06 Thread User Markir
Log Message: --- Use a hash table for the (in memory) resource queues. An array was use initially - the hash should scale better as the number of queues increases. Modified Files: -- bizgres/postgresql/src/backend/utils/resscheduler: resqueue.c (r1.3 -> r1.4)

[COMMITTERS] bizgres - bizgres: Add code to catch deadlocking against self (e.g.

2006-09-06 Thread User Markir
Log Message: --- Add code to catch deadlocking against self (e.g. opening 6 cursors when you belong to a queue with active threshold 5). This could be used to handle the case of 1 statement with a cost higher than the queue cost threshold (currently allow overcommit if it is the only acti

[COMMITTERS] bizgres - bizgres: Document the catalog changes for Resource Scheduling.

2006-09-07 Thread User Markir
Log Message: --- Document the catalog changes for Resource Scheduling. Modified Files: -- bizgres/postgresql/src/backend/utils/resscheduler: README (r1.5 -> r1.6) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/src/backend/utils/ress

[COMMITTERS] bizgres - bizgres: Amend self deadlock algorithm for resource

2006-09-07 Thread User Markir
Log Message: --- Amend self deadlock algorithm for resource scheduling, it was being brain dead and continuing to scan the lock list after finding a holder that wasn't me, changed to stop the scan when this happens. Modified Files: -- bizgres/postgresql/src/backend/storag

[COMMITTERS] bizgres - bizgres: Remove build generated files.

2006-09-07 Thread User Markir
Log Message: --- Remove build generated files. Removed Files: - bizgres/postgresql/src/backend/bootstrap: bootparse.c (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/src/backend/bootstrap/bootparse.c) bootscanner.c (

[COMMITTERS] bizgres - bizgres: Allow set role to change the resource queue to that

2006-09-08 Thread User Markir
Log Message: --- Allow set role to change the resource queue to that of the new role. Statements opened or executing under the old queue continue to operate as if the role change did not happen. Modified Files: -- bizgres/postgresql/src/backend/utils/init: miscinit.

[COMMITTERS] bizgres - bizgres: Fix bug whereby the first query of a new session will

2006-09-09 Thread User Markir
Log Message: --- Fix bug whereby the first query of a new session will not deduct its portal increments if interrupted. This was due to waitPortalId not being set at backend process startup. Modified Files: -- bizgres/postgresql/src/backend/storage/lmgr: proc.c (r1.

[COMMITTERS] bizgres - bizgres: Make the parsing of queue thresholds a little better

2006-09-10 Thread User Markir
Log Message: --- Make the parsing of queue thresholds a little better - in the active case we can now avoid float format, but unfortunately need to keep it for cost. The reason being my lack of comfort in having a max cost threshold of 1e+19, given we (or I anyway) don't seem to have any h

[COMMITTERS] bizgres - bizgres: Make resource queues show up as such in pg_locks.

2006-09-10 Thread User Markir
Log Message: --- Make resource queues show up as such in pg_locks. In the interest of backward compatability, new columns were *not* added to the view, so the resource queue id shows up under objid - which seems reasoanble I think. Modified Files: -- bizgres/postgresql/src

[COMMITTERS] bizgres - bizgres: Eliminate a compile warning by declaring

2006-09-12 Thread User Markir
Log Message: --- Eliminate a compile warning by declaring LogicalTapeSetForgetFreeSpace. Modified Files: -- bizgres/postgresql/src/include/utils: logtape.h (r1.1.1.2.2.1 -> r1.2) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/src/in

[COMMITTERS] bizgres - bizgres: Apply review patch from Gavin Sherry, with minor

2006-09-18 Thread User Markir
Log Message: --- Apply review patch from Gavin Sherry, with minor editorial changes. Modified Files: -- bizgres/postgresql/src/backend/commands: queue.c (r1.2 -> r1.3) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/src/backend/comma

[COMMITTERS] bizgres - bizgres: Update OID numbers for catalog changes to avoid clash

2006-09-22 Thread User Markir
Log Message: --- Update OID numbers for catalog changes to avoid clash with Postgres 8.2. Modified Files: -- bizgres/postgresql/src/backend/utils/resscheduler: README (r1.8 -> r1.9) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/src

[COMMITTERS] bizgres - bizgres: Remove spurious debugging message displaying query

2006-09-24 Thread User Markir
Log Message: --- Remove spurious debugging message displaying query type. Modified Files: -- bizgres/postgresql/src/backend/commands: prepare.c (r1.2 -> r1.3) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/src/backend/commands/prepa

[COMMITTERS] bizgres - bizgres: Fix bug whereby ROLLBACK TO SAVEPOINT would not

2006-09-26 Thread User Markir
Log Message: --- Fix bug whereby ROLLBACK TO SAVEPOINT would not release appropriate resource locks. This was caused by complete lack of any resource owner being associated with resource lock and portal increment data structures. Modified Files: -- bizgres/postgresql/src/b

[COMMITTERS] bizgres - bizgres: Fix big whereby cursors declared WITH HOLD would have

2006-09-28 Thread User Markir
Log Message: --- Fix big whereby cursors declared WITH HOLD would have their resource locks released prematurely. As part of the change, merge largely repeated code in ResLockRelaseAll and ResProcReleaseCurrentOwner. Modified Files: -- bizgres/postgresql/src/backend/comman

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

2006-10-03 Thread User Markir
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 for a connected user and then DROP RESOURCE QUEUE on the role's queue. However

[COMMITTERS] bizgres - bizgres: Rationalize warnings about resource scheduler off for

2006-10-05 Thread User Markir
Log Message: --- Rationalize warnings about resource scheduler off for CREATE|ALTER|DROP RESOURCE QUEUE. Modified Files: -- bizgres/postgresql/src/backend/commands: queue.c (r1.3 -> r1.4) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgre

[COMMITTERS] bizgres - bizgres: Prevent ALTER RESOURCE QUEUE setting all limits to be

2006-10-05 Thread User Markir
Log Message: --- Prevent ALTER RESOURCE QUEUE setting all limits to be invalid/ignored. Modified Files: -- bizgres/postgresql/src/backend/commands: queue.c (r1.4 -> r1.5) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/src/backend/co

[COMMITTERS] bizgres - bizgres: Allow for unamed portals in checking of

2006-10-05 Thread User Markir
Log Message: --- Allow for unamed portals in checking of max_portals_per_transaction, it seems easier to just allow 1 extra slot in the portal hash and only count named portals. Modified Files: -- bizgres/postgresql/src/backend/utils/resscheduler: resqueue.c (r1.8

[COMMITTERS] bizgres - bizgres: unset LOCK_DEBUG symbol that had (ahem) somehow got

2006-10-06 Thread User Markir
Log Message: --- unset LOCK_DEBUG symbol that had (ahem) somehow got defined... Modified Files: -- bizgres/postgresql/src/include: pg_config_manual.h (r1.4 -> r1.5) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/src/include/pg_confi

[COMMITTERS] bizgres - bizgres: Also remove the extra whitespace that had crept in.

2006-10-06 Thread User Markir
Log Message: --- Also remove the extra whitespace that had crept in. Modified Files: -- bizgres/postgresql/src/include: pg_config_manual.h (r1.5 -> r1.6) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/src/include/pg_config_manual.h.

[COMMITTERS] bizgres - bizgres: Initial checkin of documentation for resource

2006-10-06 Thread User Markir
Log Message: --- Initial checkin of documentation for resource scheduling. Modified Files: -- bizgres/postgresql/doc/src/sgml: catalogs.sgml (r1.1.1.2.2.1 -> r1.2) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/doc/src/sgml/catalogs

[COMMITTERS] bizgres - bizgres: Correct typo in check for all thresholds set to

2006-10-07 Thread User Markir
Log Message: --- Correct typo in check for all thresholds set to invalid. Modified Files: -- bizgres/postgresql/doc: postgres.tar.gz (r1.1.1.2 -> r1.2) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/doc/postgres.tar.gz.diff?r1=1.1.1

[COMMITTERS] bizgres - bizgres: Remove the generated html docs file from the CVS

2006-10-07 Thread User Markir
Log Message: --- Remove the generated html docs file from the CVS repository - as we should generated a fresh one for any release! Removed Files: - bizgres/postgresql/doc: postgres.tar.gz (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgres

[COMMITTERS] bizgres - bizgres: Next installment of resource scheduler documentation.

2006-10-09 Thread User Markir
Log Message: --- Next installment of resource scheduler documentation. Modified Files: -- bizgres/postgresql/doc/src/sgml: catalogs.sgml (r1.2 -> r1.3) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/doc/src/sgml/catalogs.sgml.diff?r

[COMMITTERS] bizgres - bizgres: Remove generated manual pages, as we need to build

2006-10-12 Thread User Markir
Log Message: --- Remove generated manual pages, as we need to build this for a release. Removed Files: - bizgres/postgresql/doc: man.tar.gz (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/doc/man.tar.gz) ---(

[COMMITTERS] bizgres - bizgres: Documentation proof reading and clean-ups

2006-10-12 Thread User Markir
Log Message: --- Documentation proof reading and clean-ups Modified Files: -- bizgres/postgresql/doc/src/sgml: config.sgml (r1.4 -> r1.5) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/doc/src/sgml/config.sgml.diff?r1=1.4&r2=1.5)

[COMMITTERS] bizgres - bizgres: Mention that attempts to alter a resource queue that

2006-10-12 Thread User Markir
Log Message: --- Mention that attempts to alter a resource queue that is in use are prevented. Modified Files: -- bizgres/postgresql/doc/src/sgml/ref: alter_resource_queue.sgml (r1.1 -> r1.2) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/post

[COMMITTERS] bizgres - bizgres: Add missing check for all invalid thresholds to

2006-10-23 Thread User Markir
Log Message: --- Add missing check for all invalid thresholds to CREATE RESOURCE QUEUE. Also add missing {} around two code blocks that check threshold ranges. Modified Files: -- bizgres/postgresql/src/backend/commands: queue.c (r1.6 -> r1.7) (http://cvs.pg

[COMMITTERS] bizgres - bizgres: Show a warning for CREATE|ALTER ROLE if rolresqueue

2006-10-23 Thread User Markir
Log Message: --- Show a warning for CREATE|ALTER ROLE if rolresqueue is included in the create oralter and resource_scheduler=off. Modified Files: -- bizgres/postgresql/src/backend/commands: user.c (r1.2 -> r1.3) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cg

[COMMITTERS] bizgres - bizgres: Enable resource queue overcommit to be set on a per

2006-10-24 Thread User Markir
Log Message: --- Enable resource queue overcommit to be set on a per queue basis. Statements that have individual increments bigger than any cost related threshold will cause statement abort. The default for resource queues is no overcommit. Modified Files: -- bizgres/post

[COMMITTERS] bizgres - bizgres: Documentation for resource queue overcommit option.

2006-10-24 Thread User Markir
Log Message: --- Documentation for resource queue overcommit option. Modified Files: -- bizgres/postgresql/doc/src/sgml: catalogs.sgml (r1.3 -> r1.4) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/doc/src/sgml/catalogs.sgml.diff?r1=

[COMMITTERS] bizgres - bizgres: Minor corrections to links for resource queue

2006-10-24 Thread User Markir
Log Message: --- Minor corrections to links for resource queue documentation. Modified Files: -- bizgres/postgresql/doc/src/sgml/ref: alter_resource_queue.sgml (r1.3 -> r1.4) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/doc/src/sg

[COMMITTERS] bizgres - bizgres: Add an option to dump resource queue and role to

2006-10-27 Thread User Markir
Log Message: --- Add an option to dump resource queue and role to resource queue associations. Modified Files: -- bizgres/postgresql/doc/src/sgml/ref: pg_dumpall.sgml (r1.1.1.2.2.1 -> r1.2) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgr

[COMMITTERS] bizgres - bizgres: Amend ALTER|CREATE USER to mention resource queue.

2007-03-07 Thread User Markir
Log Message: --- Amend ALTER|CREATE USER to mention resource queue. Modified Files: -- bizgres/postgresql/doc/src/sgml/ref: alter_user.sgml (r1.1.1.2.2.1 -> r1.2) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/doc/src/sgml/ref/alter

[COMMITTERS] bizgres - bizgres: New Directory

2007-03-20 Thread User Markir
Update of /cvsroot/bizgres/bizgres/postgresql/contrib/hstore/data In directory pgfoundry.org:/tmp/cvs-serv74396/contrib/hstore/data Log Message: Directory /cvsroot/bizgres/bizgres/postgresql/contrib/hstore/data added to the repository ---(end of broadcast)---

[COMMITTERS] bizgres - bizgres: New Directory

2007-03-20 Thread User Markir
Update of /cvsroot/bizgres/bizgres/postgresql/contrib/adminpack In directory pgfoundry.org:/tmp/cvs-serv74396/contrib/adminpack Log Message: Directory /cvsroot/bizgres/bizgres/postgresql/contrib/adminpack added to the repository ---(end of broadcast)-

[COMMITTERS] bizgres - bizgres: New Directory

2007-03-20 Thread User Markir
Update of /cvsroot/bizgres/bizgres/postgresql/contrib/hstore In directory pgfoundry.org:/tmp/cvs-serv74396/contrib/hstore Log Message: Directory /cvsroot/bizgres/bizgres/postgresql/contrib/hstore added to the repository ---(end of broadcast)--- TI

[COMMITTERS] bizgres - bizgres: New Directory

2007-03-20 Thread User Markir
Update of /cvsroot/bizgres/bizgres/postgresql/src/interfaces/ecpg/test/connect In directory pgfoundry.org:/tmp/cvs-serv74396/src/interfaces/ecpg/test/connect Log Message: Directory /cvsroot/bizgres/bizgres/postgresql/src/interfaces/ecpg/test/connect added to the repository -

[COMMITTERS] bizgres - bizgres: New Directory

2007-03-20 Thread User Markir
Update of /cvsroot/bizgres/bizgres/postgresql/src/backend/utils/mb/conversion_procs/utf8_and_win In directory pgfoundry.org:/tmp/cvs-serv74396/src/backend/utils/mb/conversion_procs/utf8_and_win Log Message: Directory /cvsroot/bizgres/bizgres/postgresql/src/backend/utils/mb/conversion_procs/utf8

[COMMITTERS] bizgres - bizgres: New Directory

2007-03-20 Thread User Markir
Update of /cvsroot/bizgres/bizgres/postgresql/contrib/hstore/sql In directory pgfoundry.org:/tmp/cvs-serv74396/contrib/hstore/sql Log Message: Directory /cvsroot/bizgres/bizgres/postgresql/contrib/hstore/sql added to the repository ---(end of broadcast)--

[COMMITTERS] bizgres - bizgres: New Directory

2007-03-20 Thread User Markir
Update of /cvsroot/bizgres/bizgres/postgresql/src/tools/editors In directory pgfoundry.org:/tmp/cvs-serv74396/src/tools/editors Log Message: Directory /cvsroot/bizgres/bizgres/postgresql/src/tools/editors added to the repository ---(end of broadcast)-

[COMMITTERS] bizgres - bizgres: New Directory

2007-03-20 Thread User Markir
Update of /cvsroot/bizgres/bizgres/postgresql/contrib/hstore/expected In directory pgfoundry.org:/tmp/cvs-serv74396/contrib/hstore/expected Log Message: Directory /cvsroot/bizgres/bizgres/postgresql/contrib/hstore/expected added to the repository ---(end of broadcast)---

[COMMITTERS] bizgres - bizgres: New Directory

2007-03-20 Thread User Markir
Update of /cvsroot/bizgres/bizgres/postgresql/src/test/thread In directory pgfoundry.org:/tmp/cvs-serv74396/src/test/thread Log Message: Directory /cvsroot/bizgres/bizgres/postgresql/src/test/thread added to the repository ---(end of broadcast)---

[COMMITTERS] bizgres - bizgres: New Directory

2007-03-20 Thread User Markir
Update of /cvsroot/bizgres/bizgres/postgresql/src/timezone/tznames In directory pgfoundry.org:/tmp/cvs-serv74396/src/timezone/tznames Log Message: Directory /cvsroot/bizgres/bizgres/postgresql/src/timezone/tznames added to the repository ---(end of broadcast)

[COMMITTERS] bizgres - bizgres: New Directory

2007-03-20 Thread User Markir
Update of /cvsroot/bizgres/bizgres/postgresql/src/interfaces/ecpg/test/pgtypeslib In directory pgfoundry.org:/tmp/cvs-serv74396/src/interfaces/ecpg/test/pgtypeslib Log Message: Directory /cvsroot/bizgres/bizgres/postgresql/src/interfaces/ecpg/test/pgtypeslib added to the repository -

[COMMITTERS] bizgres - bizgres: New Directory

2007-03-20 Thread User Markir
Update of /cvsroot/bizgres/bizgres/postgresql/src/include/port/win32_msvc/sys In directory pgfoundry.org:/tmp/cvs-serv74396/src/include/port/win32_msvc/sys Log Message: Directory /cvsroot/bizgres/bizgres/postgresql/src/include/port/win32_msvc/sys added to the repository

[COMMITTERS] bizgres - bizgres: New Directory

2007-03-20 Thread User Markir
Update of /cvsroot/bizgres/bizgres/postgresql/src/interfaces/ecpg/test/preproc In directory pgfoundry.org:/tmp/cvs-serv74396/src/interfaces/ecpg/test/preproc Log Message: Directory /cvsroot/bizgres/bizgres/postgresql/src/interfaces/ecpg/test/preproc added to the repository -

[COMMITTERS] bizgres - bizgres: New Directory

2007-03-20 Thread User Markir
Update of /cvsroot/bizgres/bizgres/postgresql/contrib/isn In directory pgfoundry.org:/tmp/cvs-serv74396/contrib/isn Log Message: Directory /cvsroot/bizgres/bizgres/postgresql/contrib/isn added to the repository ---(end of broadcast)--- TIP 1: if p

[COMMITTERS] bizgres - bizgres: New Directory

2007-03-20 Thread User Markir
Update of /cvsroot/bizgres/bizgres/postgresql/contrib/pgrowlocks In directory pgfoundry.org:/tmp/cvs-serv74396/contrib/pgrowlocks Log Message: Directory /cvsroot/bizgres/bizgres/postgresql/contrib/pgrowlocks added to the repository ---(end of broadcast)--

[COMMITTERS] bizgres - bizgres: New Directory

2007-03-20 Thread User Markir
Update of /cvsroot/bizgres/bizgres/postgresql/src/tools/msvc In directory pgfoundry.org:/tmp/cvs-serv74396/src/tools/msvc Log Message: Directory /cvsroot/bizgres/bizgres/postgresql/src/tools/msvc added to the repository ---(end of broadcast)--- TI

[COMMITTERS] bizgres - bizgres: New Directory

2007-03-20 Thread User Markir
Update of /cvsroot/bizgres/bizgres/postgresql/contrib/pg_freespacemap In directory pgfoundry.org:/tmp/cvs-serv74396/contrib/pg_freespacemap Log Message: Directory /cvsroot/bizgres/bizgres/postgresql/contrib/pg_freespacemap added to the repository ---(end of broadcast)---

[COMMITTERS] bizgres - bizgres: New Directory

2007-03-20 Thread User Markir
Update of /cvsroot/bizgres/bizgres/postgresql/src/interfaces/ecpg/test/thread In directory pgfoundry.org:/tmp/cvs-serv74396/src/interfaces/ecpg/test/thread Log Message: Directory /cvsroot/bizgres/bizgres/postgresql/src/interfaces/ecpg/test/thread added to the repository

[COMMITTERS] bizgres - bizgres: New Directory

2007-03-20 Thread User Markir
Update of /cvsroot/bizgres/bizgres/postgresql/src/include/port/win32_msvc In directory pgfoundry.org:/tmp/cvs-serv74396/src/include/port/win32_msvc Log Message: Directory /cvsroot/bizgres/bizgres/postgresql/src/include/port/win32_msvc added to the repository ---(end of b

[COMMITTERS] bizgres - bizgres: New Directory

2007-03-20 Thread User Markir
Update of /cvsroot/bizgres/bizgres/postgresql/src/interfaces/ecpg/test/sql In directory pgfoundry.org:/tmp/cvs-serv74396/src/interfaces/ecpg/test/sql Log Message: Directory /cvsroot/bizgres/bizgres/postgresql/src/interfaces/ecpg/test/sql added to the repository ---(end o

[COMMITTERS] bizgres - bizgres: New Directory

2007-03-20 Thread User Markir
Update of /cvsroot/bizgres/bizgres/postgresql/src/interfaces/ecpg/test/expected In directory pgfoundry.org:/tmp/cvs-serv74396/src/interfaces/ecpg/test/expected Log Message: Directory /cvsroot/bizgres/bizgres/postgresql/src/interfaces/ecpg/test/expected added to the repository --

[COMMITTERS] bizgres - bizgres: New Directory

2007-03-20 Thread User Markir
Update of /cvsroot/bizgres/bizgres/postgresql/contrib/sslinfo In directory pgfoundry.org:/tmp/cvs-serv74396/contrib/sslinfo Log Message: Directory /cvsroot/bizgres/bizgres/postgresql/contrib/sslinfo added to the repository ---(end of broadcast)---

[COMMITTERS] bizgres - bizgres: New Directory

2007-03-20 Thread User Markir
Update of /cvsroot/bizgres/bizgres/postgresql/src/interfaces/ecpg/test/performance In directory pgfoundry.org:/tmp/cvs-serv74396/src/interfaces/ecpg/test/performance Log Message: Directory /cvsroot/bizgres/bizgres/postgresql/src/interfaces/ecpg/test/performance added to the repository --

[COMMITTERS] bizgres - bizgres: New Directory

2007-03-20 Thread User Markir
Update of /cvsroot/bizgres/bizgres/postgresql/src/interfaces/ecpg/test/compat_informix In directory pgfoundry.org:/tmp/cvs-serv74396/src/interfaces/ecpg/test/compat_informix Log Message: Directory /cvsroot/bizgres/bizgres/postgresql/src/interfaces/ecpg/test/compat_informix added to the reposit

[COMMITTERS] bizgres - bizgres: New Directory

2007-03-20 Thread User Markir
Update of /cvsroot/bizgres/bizgres/postgresql/src/backend/access/gin In directory pgfoundry.org:/tmp/cvs-serv74396/src/backend/access/gin Log Message: Directory /cvsroot/bizgres/bizgres/postgresql/src/backend/access/gin added to the repository ---(end of broadcast)--

[COMMITTERS] bizgres - bizgres: Bizgres 8.2 merge continued: (re) add some zero

2007-03-20 Thread User Markir
Log Message: --- Bizgres 8.2 merge continued: (re) add some zero length files that were inadvertently removed! Added Files: --- bizgres/postgresql/src/backend/port/tas: dummy.s (r1.3) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/src/

[COMMITTERS] bizgres - bizgres: Get resource queuing working.

2007-03-21 Thread User Markir
Log Message: --- Get resource queuing working. There is more code to come here, but this commit gets the 8.2 infrastructure in there. Modified Files: -- bizgres/postgresql/src/backend/commands: queue.c (r1.9 -> r1.10) (http://cvs.pgfoundry.org/cgi-bin/cvswe

[COMMITTERS] bizgres - bizgres: Tidy up contrib.

2007-03-21 Thread User Markir
Log Message: --- Tidy up contrib. Modified Files: -- bizgres/postgresql/contrib: Makefile (r1.4 -> r1.5) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/contrib/Makefile.diff?r1=1.4&r2=1.5) ---(end of broadca

[COMMITTERS] bizgres - bizgres: Bring resource queue code up-to-date: - Move resource

2007-03-21 Thread User Markir
Log Message: --- Bring resource queue code up-to-date: - Move resource lock taking location to PortalStart - Simplify cursor handling code as a result - Cleanup code to handle overcommit abort correctly - Add internal view pg_resqueue_status - Add statistics monitoring infrastructure and vi

[COMMITTERS] bizgres - bizgres: Fix inconsistent visibility declarations with

2007-03-21 Thread User Markir
Log Message: --- Fix inconsistent visibility declarations with LockData structures. Also add in a couple of Asserts that were left off. Modified Files: -- bizgres/postgresql/src/backend/storage/lmgr: lock.c (r1.5 -> r1.6) (http://cvs.pgfoundry.org/cgi-bin/c

[COMMITTERS] bizgres - bizgres: Restore Bizgres tuned defaults for shared_buffers,

2007-03-22 Thread User Markir
Log Message: --- Restore Bizgres tuned defaults for shared_buffers, work_mem and maintenance_work_mem. These probably could do with some looking at again - but at least they agree with the configuration file now! Modified Files: -- bizgres/postgresql/src/backend/utils/misc

[COMMITTERS] bizgres - bizgres: Fix expected regression test output to include

2007-03-22 Thread User Markir
Log Message: --- Fix expected regression test output to include resource relations and attributes. Modified Files: -- bizgres/postgresql/src/test/regress/expected: rules.out (r1.3 -> r1.4) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgr

[COMMITTERS] bizgres - bizgres: Update documentation for lastest resource queuing

2007-03-26 Thread User Markir
Log Message: --- Update documentation for lastest resource queuing additions: - new views pg_resqueue_status, pg_stat_resqueues. - ALTER RESOURCE QUEUE possible for active queues. Modified Files: -- bizgres/postgresql/doc/src/sgml: catalogs.sgml (r1.5 -> r1.6)

[COMMITTERS] bizgres - bizgres: Add the code to allow active resource queues to be

2007-03-26 Thread User Markir
Log Message: --- Add the code to allow active resource queues to be altered. This patch was ommitted in the previous commit! Modified Files: -- bizgres/postgresql/src/backend/commands: queue.c (r1.10 -> r1.11) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bi

[COMMITTERS] bizgres - bizgres: Update the README to reflect the code changes.

2007-03-27 Thread User Markir
Log Message: --- Update the README to reflect the code changes. Modified Files: -- bizgres/postgresql/src/backend/utils/resscheduler: README (r1.10 -> r1.11) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/src/backend/utils/resschedu

[COMMITTERS] bizgres - bizgres: Make bmcostestimate call genericcostestimate again,

2007-04-05 Thread User Markir
Log Message: --- Make bmcostestimate call genericcostestimate again, it had been #if'ed out during the merge. Modified Files: -- bizgres/postgresql/src/backend/utils/adt: selfuncs.c (r1.5 -> r1.6) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres

[COMMITTERS] bizgres - bizgres: Fix cursors decleared WITH HOLD.

2007-04-08 Thread User Markir
Log Message: --- Fix cursors decleared WITH HOLD. This uncovered some unnoticed bugs created by previous changes that move where ResLockPortal was being called from. In this change we: - Move location of ResUnLockPortal from PortalRun to PortalDrop, this vastly simplifies most abort and

[COMMITTERS] bizgres - bizgres: Update the README to reflect the new call locations

2007-04-08 Thread User Markir
Log Message: --- Update the README to reflect the new call locations and signatures for: ResLockPortal ResUnLockPortal Modified Files: -- bizgres/postgresql/src/backend/utils/resscheduler: README (r1.11 -> r1.12) (http://cvs.pgfoundry.org/cgi-bin/cvsweb

[COMMITTERS] bizgres - bizgres: Fix self (dead)lock check to work correctly - iterate

2007-04-12 Thread User Markir
Log Message: --- Fix self (dead)lock check to work correctly - iterate through my portals and see if I have total increments higher than any corresponding thresholds. Modified Files: -- bizgres/postgresql/src/backend/storage/lmgr: proc.c (r1.9 -> r1.10) (ht

[COMMITTERS] bizgres - bizgres: Take the ResQueueLock LW lock right at the start of

2007-04-12 Thread User Markir
Log Message: --- Take the ResQueueLock LW lock right at the start of the selfdeadlock check, to avoid possible race condition. Modified Files: -- bizgres/postgresql/src/backend/utils/resscheduler: resqueue.c (r1.15 -> r1.16) (http://cvs.pgfoundry.org/cgi-bi

[COMMITTERS] bizgres - bizgres: Fix the resource_select_only=false case - we were not

2007-04-25 Thread User Markir
Log Message: --- Fix the resource_select_only=false case - we were not bothering to take a resource lock at all. This was broken when ResLockPortal call was moved to PortalStart - we need to place a copy in ProcessQuery to catch UPDATE/INSERT/ DELETE. Modified Files: -- bi

[COMMITTERS] bizgres - bizgres: Make SET SESSION AUTHORIZATION set the resource queue

2007-06-10 Thread User Markir
Log Message: --- Make SET SESSION AUTHORIZATION set the resource queue id. Modified Files: -- bizgres/postgresql/src/backend/utils/init: miscinit.c (r1.4 -> r1.5) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/src/backend/utils/init

[COMMITTERS] bizgres - bizgres: Handle empty statement.

2007-06-26 Thread User Markir
Log Message: --- Handle empty statement. Some housekeping for resource scheduling was assuming that parsetrees were always non-trivial. Modified Files: -- bizgres/postgresql/src/backend/tcop: postgres.c (r1.6 -> r1.7) (http://cvs.pgfoundry.org/cgi-bin/cvswe

[COMMITTERS] bizgres - bizgres: Update from 8.2.3 to 8.2.4 Postgres codebase.

2007-07-05 Thread User Markir
Log Message: --- Update from 8.2.3 to 8.2.4 Postgres codebase. Modified Files: -- bizgres/postgresql: HISTORY (r1.2 -> r1.3) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/HISTORY.diff?r1=1.2&r2=1.3) INSTALL (r1.2 -> r1.3)

[COMMITTERS] bizgres - bizgres: When checking portals with strategy

2007-07-05 Thread User Markir
Log Message: --- When checking portals with strategy PORTAL_MULTI_SELECT need to consider cases that are SELECT type statements (CREATE TABLE AS SELECT), and lock these even if resource_select_only is off. Modified Files: -- bizgres/postgresql/src/backend/tcop: pq

[COMMITTERS] bizgres - bizgres: Fix bogus 'locking against self' error for

2007-10-11 Thread User Markir
Log Message: --- Fix bogus 'locking against self' error for overcommitted queues. Modified Files: -- bizgres/postgresql/src/backend/utils/mmgr: portalmem.c (r1.7 -> r1.8) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/src/backend/ut

[COMMITTERS] bizgres - bizgres: Resource Scheduler tidy: Remove never executed code

2007-10-17 Thread User Markir
Log Message: --- Resource Scheduler tidy: Remove never executed code sections from ResLockPortal. Modified Files: -- bizgres/postgresql/src/backend/utils/resscheduler: resscheduler.c (r1.14 -> r1.15) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/biz

[COMMITTERS] bizgres - bizgres: Resource Scheduler tidy: Correct comments for

2007-10-17 Thread User Markir
Log Message: --- Resource Scheduler tidy: Correct comments for TotalResPortalIncrements. Modified Files: -- bizgres/postgresql/src/backend/utils/mmgr: portalmem.c (r1.8 -> r1.9) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/src/ba

[COMMITTERS] bizgres - bizgres: Add new psuedo threshold type 'IGNORE' - queries

2007-10-29 Thread User Markir
Log Message: --- Add new psuedo threshold type 'IGNORE' - queries whose cost is less than this are not queued at all! This should make queueing work better with ad-hoc tools that do a lot of catalog lookups before running actual queries. Initdb is forced (changes to pg_resqueue). Modified

[COMMITTERS] bizgres - bizgres: Update README for overcommit and ignore threshold

2007-10-29 Thread User Markir
Log Message: --- Update README for overcommit and ignore threshold changes. Modified Files: -- bizgres/postgresql/src/backend/utils/resscheduler: README (r1.12 -> r1.13) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/src/backend/uti

[COMMITTERS] bizgres - bizgres: Fix self deadlock breakage introduced by ignore

2007-10-29 Thread User Markir
Log Message: --- Fix self deadlock breakage introduced by ignore functionality. Modified Files: -- bizgres/postgresql/src/backend/utils/resscheduler: resqueue.c (r1.18 -> r1.19) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/src/bac

[COMMITTERS] bizgres - bizgres: Use definable symbol RESLOCK_DEBUG to conditionally

2007-10-29 Thread User Markir
Log Message: --- Use definable symbol RESLOCK_DEBUG to conditionally remove debugging elog calls in (potentially) performance critical parts of the (resource) locking logic. Modified Files: -- bizgres/postgresql/src/backend/utils/resscheduler: README (r1.13 -> r1.14

[COMMITTERS] bizgres - bizgres: Correct declaration for global structure

2007-11-28 Thread User Markir
Log Message: --- Correct declaration for global structure ResScheduler. Modified Files: -- bizgres/postgresql/src/backend/utils/resscheduler: resscheduler.c (r1.18 -> r1.19) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/src/backend

[COMMITTERS] bizgres - bizgres: Release partitioned LWLocks in reverse order to their

2007-12-23 Thread User Markir
Log Message: --- Release partitioned LWLocks in reverse order to their acquisition in view pg_resqueue_status. Modified Files: -- bizgres/postgresql/src/backend/utils/resscheduler: resqueue.c (r1.20 -> r1.21) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bi

  1   2   >