[COMMITTERS] python - be: Add ugly CPP to allow _compilation_ against 8.1devel.

2005-05-03 Thread James William Pye
Log Message: --- Add ugly CPP to allow _compilation_ against 8.1devel. This fails to address the issue of the Array friendly oidvectors; as namespace.c/ns_function depends on the old style, so just #if it out for now. pg_config.h is actually included by c.h in both 8.0 and 8.1, but the iss

[COMMITTERS] python - be: Split off Array_FromPySequence to take an elmtoid instead

2005-05-03 Thread James William Pye
Log Message: --- Split off Array_FromPySequence to take an elmtoid instead of the type tuple. A small management improvement, but, of course, fails to address the more serious issue of consistent instantiation methods. Calling a type object will do something different than the Datum_From

[COMMITTERS] pqa - pqa: tweak

2005-05-03 Thread User Tom
Log Message: --- tweak Modified Files: -- pqa/www: index.html (r1.30 -> r1.31) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pqa/pqa/www/index.html.diff?r1=1.30&r2=1.31) ---(end of broadcast)--- TIP 3: if post

[COMMITTERS] pgsql: Clean up MultiXactIdExpand's API by separating out the case where

2005-05-03 Thread Tom Lane
Log Message: --- Clean up MultiXactIdExpand's API by separating out the case where we are creating a new MultiXactId from two regular XIDs. The original coding was unnecessarily complicated and didn't save any code anyway. Modified Files: -- pgsql/src/backend/access/heap:

[COMMITTERS] pgsql: Alter the signature for encoding conversion functions to declare

2005-05-03 Thread Tom Lane
Log Message: --- Alter the signature for encoding conversion functions to declare the output area as INTERNAL not CSTRING. This is to prevent people from calling the functions by hand. This is a permanent solution for the back branches but I hope it is just a stopgap for HEAD. Tags:

[COMMITTERS] pgsql: Alter the signature for encoding conversion functions to declare

2005-05-03 Thread Tom Lane
Log Message: --- Alter the signature for encoding conversion functions to declare the output area as INTERNAL not CSTRING. This is to prevent people from calling the functions by hand. This is a permanent solution for the back branches but I hope it is just a stopgap for HEAD. Tags:

[COMMITTERS] pgsql: Alter the signature for encoding conversion functions to declare

2005-05-03 Thread Tom Lane
Log Message: --- Alter the signature for encoding conversion functions to declare the output area as INTERNAL not CSTRING. This is to prevent people from calling the functions by hand. This is a permanent solution for the back branches but I hope it is just a stopgap for HEAD. Tags:

[COMMITTERS] pgsql: Alter the signature for encoding conversion functions to declare

2005-05-03 Thread Tom Lane
Log Message: --- Alter the signature for encoding conversion functions to declare the output area as INTERNAL not CSTRING. This is to prevent people from calling the functions by hand. This is a permanent solution for the back branches but I hope it is just a stopgap for HEAD. Modified F

[COMMITTERS] pgsql: Change tsearch2 to not use the unsafe practice of creating

2005-05-03 Thread Tom Lane
Log Message: --- Change tsearch2 to not use the unsafe practice of creating functions that return INTERNAL without also having INTERNAL arguments. Since the functions in question aren't meant to be called by hand anyway, I just redeclared them to take 'internal' instead of 'text'. Also ad

[COMMITTERS] pgsql: Change tsearch2 to not use the unsafe practice of creating

2005-05-03 Thread Tom Lane
Log Message: --- Change tsearch2 to not use the unsafe practice of creating functions that return INTERNAL without also having INTERNAL arguments. Since the functions in question aren't meant to be called by hand anyway, I just redeclared them to take 'internal' instead of 'text'. Also ad

[COMMITTERS] pgsql: Change tsearch2 to not use the unsafe practice of creating

2005-05-03 Thread Tom Lane
Log Message: --- Change tsearch2 to not use the unsafe practice of creating functions that return INTERNAL without also having INTERNAL arguments. Since the functions in question aren't meant to be called by hand anyway, I just redeclared them to take 'internal' instead of 'text'. Also ad

[COMMITTERS] python - be: Fix array creation.

2005-05-03 Thread James William Pye
Log Message: --- Fix array creation. The result is of the array type, not the typelem type. Revealed a bug where the Array creation routine did not properly trap error, fix coming soon. Modified Files: -- be/src: type.c (r1.7 -> r1.8) (http://cvs.pgfoundry.