[COMMITTERS] pgsql: Fix bogus calculation of potential output string length in

2007-09-21 Thread Tom Lane
Log Message: --- Fix bogus calculation of potential output string length in translate(). Tags: REL7_3_STABLE Modified Files: -- pgsql/src/backend/utils/adt: oracle_compat.c (r1.43 -> r1.43.2.1) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bac

[COMMITTERS] pgsql: Fix bogus calculation of potential output string length in

2007-09-21 Thread Tom Lane
Log Message: --- Fix bogus calculation of potential output string length in translate(). Tags: REL8_1_STABLE Modified Files: -- pgsql/src/backend/utils/adt: oracle_compat.c (r1.64 -> r1.64.2.1) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bac

[COMMITTERS] pgsql: Fix bogus calculation of potential output string length in

2007-09-21 Thread Tom Lane
Log Message: --- Fix bogus calculation of potential output string length in translate(). Tags: REL8_2_STABLE Modified Files: -- pgsql/src/backend/utils/adt: oracle_compat.c (r1.67.2.1 -> r1.67.2.2) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src

[COMMITTERS] pgsql: Fix bogus calculation of potential output string length in

2007-09-21 Thread Tom Lane
Log Message: --- Fix bogus calculation of potential output string length in translate(). Tags: REL7_4_STABLE Modified Files: -- pgsql/src/backend/utils/adt: oracle_compat.c (r1.48 -> r1.48.4.1) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bac

[COMMITTERS] pgsql: Fix bogus calculation of potential output string length in

2007-09-21 Thread Tom Lane
Log Message: --- Fix bogus calculation of potential output string length in translate(). Tags: REL8_0_STABLE Modified Files: -- pgsql/src/backend/utils/adt: oracle_compat.c (r1.57.4.2 -> r1.57.4.3) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src

[COMMITTERS] pgsql: Fix bogus calculation of potential output string length in

2007-09-21 Thread Tom Lane
Log Message: --- Fix bogus calculation of potential output string length in translate(). Modified Files: -- pgsql/src/backend/utils/adt: oracle_compat.c (r1.72 -> r1.73) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/oracle_compat.c

[COMMITTERS] pgsql: Parenthesize macro arguments safely.

2007-09-21 Thread Tom Lane
Log Message: --- Parenthesize macro arguments safely. I see no bug among the current uses of PG_DETOAST_DATUM_SLICE, but it's clearly trouble waiting to happen. Modified Files: -- pgsql/src/include: fmgr.h (r1.53 -> r1.54) (http://developer.postgresql.org/

[COMMITTERS] pgsql: Although I'd misdiagnosed the reason for the recent failures on

2007-09-21 Thread Tom Lane
Log Message: --- Although I'd misdiagnosed the reason for the recent failures on buildfarm member grebe, I see no reason to revert the 1-byte-header-friendly changes I made in varlena.c. Instead, tweak the code a little bit to get more advantage out of that. Modified Files: --

[COMMITTERS] pgsql: Doh --- what's really happening on buildfarm member grebe is that

2007-09-21 Thread Tom Lane
Log Message: --- Doh --- what's really happening on buildfarm member grebe is that its malloc returns NULL for malloc(0). Defend against that case. Modified Files: -- pgsql/src/backend/utils/adt: regexp.c (r1.74 -> r1.75) (http://developer.postgresql.org/c

[COMMITTERS] pgsql: Go back to using a separate method for doing ILIKE for single

2007-09-21 Thread Andrew Dunstan
Log Message: --- Go back to using a separate method for doing ILIKE for single byte character encodings that doesn't involve calling lower(). This should cure the performance regression in this case complained of by Guillaume Smet. It still leaves the horrid performance for multi-byte encod

[COMMITTERS] pgsql: Fix varlena.c routines to allow 1-byte-header text values.

2007-09-21 Thread Tom Lane
Log Message: --- Fix varlena.c routines to allow 1-byte-header text values. This is now demonstrably necessary for text_substring() since regexp_split functions may pass it such a value; and we might as well convert the whole file at once. Per buildfarm results (though I wonder why most m

[COMMITTERS] pgsql: Fix regex, LIKE, and some other second-rank text-manipulation

2007-09-21 Thread Tom Lane
Log Message: --- Fix regex, LIKE, and some other second-rank text-manipulation functions to not cause needless copying of text datums that have 1-byte headers. Greg Stark, in response to performance gripe from Guillaume Smet and ITAGAKI Takahiro. Modified Files: -- pgsql/sr

[COMMITTERS] pgsql: Improve handling of prune/no-prune decisions by storing a page's

2007-09-21 Thread Tom Lane
Log Message: --- Improve handling of prune/no-prune decisions by storing a page's oldest unpruned XMAX in its header. At the cost of 4 bytes per page, this keeps us from performing heap_page_prune when there's no chance of pruning anything. Seems to be necessary per Heikki's preliminary pe

[COMMITTERS] pgsql: Change tqual.c tests to use !TransactionIdIsCurrentTransactionId,

2007-09-21 Thread Tom Lane
Log Message: --- Change tqual.c tests to use !TransactionIdIsCurrentTransactionId, rather than TransactionIdDidAbort, when handling the case that xmin is one of the current transaction's XIDs and the tuple has been deleted. xmax must also be one of the current transaction's XIDs, since no

[COMMITTERS] pgsql: Make some simple performance improvements in

2007-09-21 Thread Tom Lane
Log Message: --- Make some simple performance improvements in TransactionIdIsInProgress(). For XIDs of our own transaction and subtransactions, it's cheaper to ask TransactionIdIsCurrentTransactionId() than to look in shared memory. Also, the xids[] work array is always the same size within

[COMMITTERS] pgsql: Fix comments that misspelled TransactionIdIsInProgress, per

2007-09-21 Thread Tom Lane
Log Message: --- Fix comments that misspelled TransactionIdIsInProgress, per Heikki. Modified Files: -- pgsql/src/backend/access/transam: twophase.c (r1.35 -> r1.36) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/twophase.c?r1=

[COMMITTERS] jdbccache - jdbccache: moved PGSimpleDataSource to jdbc3

2007-09-21 Thread User Davecramer
Log Message: --- moved PGSimpleDataSource to jdbc3 Added Files: --- jdbccache/wrapper-jdbc3/src/main/java/org/postgresql/ds: PGSimpleDataSource.java (r1.1) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/jdbccache/jdbccache/wrapper-jdbc3/src/main/java/org/postgres

[COMMITTERS] jdbccache - jdbccache: New Directory

2007-09-21 Thread User Davecramer
Update of /cvsroot/jdbccache/jdbccache/wrapper-jdbc3/src/main/java/org/postgresql/ds In directory pgfoundry.org:/tmp/cvs-serv44650/ds Log Message: Directory /cvsroot/jdbccache/jdbccache/wrapper-jdbc3/src/main/java/org/postgresql/ds added to the repository ---(end of br

[COMMITTERS] jdbccache - jdbccache: extend JDBC23 instead of JDBC4 DataSource

2007-09-21 Thread User Davecramer
Log Message: --- extend JDBC23 instead of JDBC4 DataSource Modified Files: -- jdbccache/wrapper-jdbc2a/src/main/java/org/postgresql/wrapper/jdbc2a: AbstractWrapperConnection.java (r1.5 -> r1.6) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/jdbccache/jdbccach

[COMMITTERS] pgsql: Removed superfluous ECPGfree() call.

2007-09-21 Thread Michael Meskes
Log Message: --- Removed superfluous ECPGfree() call. Modified Files: -- pgsql/src/interfaces/ecpg/ecpglib: execute.c (r1.68 -> r1.69) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/ecpglib/execute.c?r1=1.68&r2=1.69)

[COMMITTERS] bizgres - bizgres: MPP-1829.

2007-09-21 Thread User Agoldshuv
Log Message: --- MPP-1829. loader would crash with core dump and not notify of load stats when hard database failure happened. New loader version 2.0.22 Modified Files: -- bizgres/loader/src/com/deepgreen/loader: DGLoaderProperties.java (r1.21 -> r1.22) (h