- 14 Jul, 2005 5 commits
-
-
Neil Conway authored
rather than the deprecated "WITH (isStrict)" syntax. Patch from Ilia Kantor, minor editorializing by Neil Conway.
-
Bruce Momjian authored
-
Bruce Momjian authored
Centralize malloc into function.
-
Neil Conway authored
is used as if it were the latest (and/or still valid) SQL standard. SQL:2003 is used in its place. Patch from Simon Riggs.
-
Tom Lane authored
few loose ends to be dealt with, but it seems to work. Alvaro Herrera, based on the contrib code by Matthew O'Connor.
-
- 13 Jul, 2005 9 commits
-
-
Tom Lane authored
-
Tom Lane authored
hack.
-
Tom Lane authored
hacking of SHLIB_LINK for HPUX.
-
Bruce Momjian authored
-
Tom Lane authored
freeing all transient state of the PGconn object.
-
Bruce Momjian authored
section of a function.
-
Bruce Momjian authored
treated as regex groups.
-
Bruce Momjian authored
I wrote: > So either we code up some intelligence to put the "C" in the right > position or we have to pass down "A B" and "D" separately from the > main makefile. The following patch might just do the former. Please try it out. Peter E.
-
Neil Conway authored
various editorialization from Neil Conway.
-
- 12 Jul, 2005 6 commits
-
-
Tom Lane authored
gcc and for HP's ld on HPUX. There may be better ways to do this, but this seems to work for me...
-
Tom Lane authored
Reported by Michael Fuhr, fixed by Andrew Dunstan.
-
Tom Lane authored
compiler warnings. Marko Kreen and Kris Jurka.
-
Bruce Momjian authored
Blank line adjustments.
-
Bruce Momjian authored
-
Tom Lane authored
Add suitable regression tests. Andrew Dunstan
-
- 11 Jul, 2005 5 commits
- 10 Jul, 2005 15 commits
-
-
Tom Lane authored
(harmless, actually, but let's be tidy).
-
Tom Lane authored
optional arguments as text input functions, ie, typioparam OID and atttypmod. Make all the datatypes that use typmod enforce it the same way in typreceive as they do in typinput. This fixes a problem with failure to enforce length restrictions during COPY FROM BINARY.
-
Bruce Momjian authored
> > I think this is because we don't have -lz in SHLIB_LINK. > Following patch fixes it. Marko Kreen
-
Bruce Momjian authored
-
Tom Lane authored
-
Bruce Momjian authored
Add missing plperl include.
-
Bruce Momjian authored
that don't have pg_malloc.
-
Bruce Momjian authored
-
Bruce Momjian authored
Marko Kreen
-
Bruce Momjian authored
return arays nicely without having to make the plperl programmer aware of anything. The attached patch allows plperl to return an arrayref where the function returns an array type. It silently calls a perl function to stringify the array before passing it to the pg array parser. Non-array returns are handled as before (i.e. passed through this process) so it is backwards compatible. I will presently submit regression tests and docs. example: andrew=# create or replace function blah() returns text[][] language plperl as $$ return [['a"b','c,d'],['e\\f','g']]; $$; CREATE FUNCTION andrew=# select blah(); blah ----------------------------- {{"a\"b","c,d"},{"e\\f",g}} This would complete half of the TODO item: . Pass arrays natively instead of as text between plperl and postgres (The other half is translating pg array arguments to perl arrays - that will have to wait for 8.1). Some of this patch is adapted from a previously submitted patch from Sergej Sergeev. Both he and Abhijit Menon-Sen have looked it over briefly and tentatively said it looks ok. Andrew Dunstan
-
Bruce Momjian authored
for PL/Perl, to avoid loading the entire result set into memory as the existing spi_exec_query() function does. Here's how one might use the new functions: $x = spi_query("select ..."); while (defined ($y = spi_fetchrow($x))) { ... return_next(...); } The changes do not affect the spi_exec_query() interface in any way. Abhijit Menon-Sen
-
Bruce Momjian authored
The Problem: Occassionally a DBA needs to dump a database to a new encoding. In instances where the current encoding, (or lack of an encoding, like SQL_ASCII) is poorly supported on the target database server, it can be useful to dump into a particular encoding. But, currently the only way to set the encoding of a pg_dump file is to change client_encoding in postgresql.conf and restart postmaster. This is more than a little awkward for production systems. Magnus Hagander
-
Bruce Momjian authored
into pg_catalog rather than public, and supports dumping languages whose handlers are found there. This will make it easier to drop the public schema if desired. Unlike the previous patch, the comments have been updated and I have reformatted some code to meet Alvarro's request to stick to 80 cols. (I actually aghree with this - it makes printing the code much nicer). I think I did the right thing w.r.t versions earlier than 7.3, but I have no real way of checking, so that should be checked by someone with more/older knowledge than me ;-) Andrew Dunstan
-
Bruce Momjian authored
OpenSSL 0.9.6x. The DES functions use the older 'des_' API, but the newer 3DES functions use the 0.9.7x-only 'DES_' API. I think I just used /usr/include/openssl/des.h for reference when implementing them, and had upgraded OpenSSL in the meantime. Following patch converts DES also to newer API and provides compatibility functions for OpenSSL < 0.9.7. I chose this route because: - openssl.c uses few DES functions. - compatibility for old 'des_' API is going away at some point of time from OpenSSL. - as seen from macros, new API is saner - Thus pgcrypto supports any OpenSSL version from 0.9.5 to 1.0 Tested with OpenSSL 0.9.6c and 0.9.7e. Marko Kreen
-
Bruce Momjian authored
-