- 14 Jul, 2005 10 commits
-
-
Tom Lane authored
requiring superuserness always, allow an owner to reassign ownership to any role he is a member of, if that role would have the right to create a similar object. These three requirements essentially state that the would-be alterer has enough privilege to DROP the existing object and then re-CREATE it as the new role; so we might as well let him do it in one step. The ALTER TABLESPACE case is a bit squirrely, but the whole concept of non-superuser tablespace owners is pretty dubious anyway. Stephen Frost, code review by Tom Lane.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
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 10 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
-