- Jan 28, 2012
-
-
Tom Lane authored
Due to oversights, the encrypt_iv() and decrypt_iv() functions failed to report certain types of invalid-input errors, and would instead return random garbage values. Marko Kreen, per report from Stefan Kaltenbrunner
-
- Jan 27, 2012
-
-
Bruce Momjian authored
-
- Jan 25, 2012
-
-
Bruce Momjian authored
have pg_upgrade allocate a maximum fixed size buffer for testing the library file name, rather than base the allocation on the library name. Backpatch to 9.1.
-
Bruce Momjian authored
-
Bruce Momjian authored
"plpython2" when upgrading from pre-PG 9.1. Patch to head and 9.1. Per report from Peter.
-
Bruce Momjian authored
check cluster version numbers, and fix missing table alias.
-
- Jan 20, 2012
-
-
Robert Haas authored
Kevin Grittner, reviewed (in earlier versions) by Álvaro Herrera
-
- Jan 19, 2012
-
-
Bruce Momjian authored
-
- Jan 15, 2012
-
-
Peter Eisentraut authored
The function in question does not in fact ensure that the passed argument is not changed, and the callers don't care much either.
-
- Jan 10, 2012
-
-
Tom Lane authored
The original coding examined the next character before verifying that there *is* a next character. In the worst case with the input buffer right up against the end of memory, this would result in a segfault. Problem spotted by Paul Guyot; this commit extends his patch to fix an additional case. In addition, make the code a tad more readable by not overloading the usage of *tlen.
-
- Jan 02, 2012
-
-
Bruce Momjian authored
-
- Dec 27, 2011
-
-
Peter Eisentraut authored
Always compare the return value to 0, don't use cute tricks like if (!strcmp(...)).
-
Peter Eisentraut authored
All supported platforms support the C89 standard function atexit() (SunOS 4 probably being the last one not to), and supporting both makes the code clumsy.
-
Peter Eisentraut authored
This is the standard behavior but was forgotten in some places.
-
- Dec 21, 2011
-
-
Robert Haas authored
KaiGai Kohei, reviewed by Dimitri Fontaine and me.
-
- Dec 09, 2011
-
-
Robert Haas authored
Marti Raudsepp, with additional paranoia by me.
-
- Dec 07, 2011
-
-
Magnus Hagander authored
Instead, add a function pg_tablespace_location(oid) used to return the same information, and do this by reading the symbolic link. Doing it this way makes it possible to relocate a tablespace when the database is down by simply changing the symbolic link.
-
- Dec 05, 2011
-
-
Bruce Momjian authored
preserve pg_class oids since PG 9.0.
-
- Nov 30, 2011
-
-
Tom Lane authored
-
- Nov 29, 2011
-
-
Peter Eisentraut authored
Disabled for now because some build farm members with low resources are not prepared to handle it.
-
- Nov 27, 2011
-
-
Peter Eisentraut authored
It runs the regression tests, runs pg_upgrade on the populated database, and compares the before and after dumps. While not actually a cross-version upgrade, this does detect omissions and bugs in the involved tools from time to time. It's also possible to do a cross-version upgrade by manually supplying parameters.
-
- Nov 26, 2011
-
-
Tom Lane authored
Sidar Lopez, per bug #6310, with some additional improvements by me. Back-patch to 9.0, where the issue was introduced.
-
Bruce Momjian authored
-
- Nov 24, 2011
-
-
Bruce Momjian authored
allow upgrades of the same catalog version. (Doesn't work for tablespaces, as indicated by C comment.)
-
- Nov 21, 2011
-
-
Tom Lane authored
If the existing citext type has not merely been created, but used in any tables, then the upgrade script wasn't doing enough. We have to update attcollation for each citext table column, and indcollation for each citext index column, as well. Per report from Rudolf van der Leeden.
-
- Nov 18, 2011
-
-
Bruce Momjian authored
--- we were not using the scandir pattern filtering anyway. This also removes the scandir requirement in configure.
-
- Nov 17, 2011
-
-
Alvaro Herrera authored
Same as previous patch, but give it actual thought this time
-
Alvaro Herrera authored
It's been deprecated for ages according to Tom, and it breaks now given the previous patch anyway. Per buildfarm
-
Bruce Momjian authored
-
Bruce Momjian authored
pattern, which is used on PG 9.1 and HEAD (but not pre-9.1). Fixes crash on Windows. Backpatched to 9.1. Reported by Mark Dilger
-
Bruce Momjian authored
-
- Nov 08, 2011
-
-
Robert Haas authored
This was an oversight in commit b60653bc. Also, fix a typo spotted by Thom Brown.
-
Robert Haas authored
Since PostgreSQL 9.0, we've emitted a warning message when an operator named => is created, because the SQL standard now reserves that token for another use. But we've also shipped such an operator with hstore. Use of the function hstore(text, text) has been recommended in preference to =>(text, text). Per discussion, it's now time to take the next step and stop shipping the operator. This will allow us to prohibit the use of => as an operator name in a future release if and when we wish to support the SQL standard use of this token. The release notes should mention this incompatibility. Patch by me, reviewed by David Wheeler, Dimitri Fontaine and Tom Lane.
-
- Nov 07, 2011
-
-
Tom Lane authored
Make it use t_isspace() to identify whitespace, rather than relying on sscanf which is known to get it wrong on some platform/locale combinations. Get rid of fixed-size buffers. Make it actually continue to parse the file after ignoring a line with untranslatable characters, as was obviously intended. The first of these issues is per gripe from J Smith, though not exactly either of his proposed patches.
-
- Nov 04, 2011
-
-
Robert Haas authored
-
Robert Haas authored
Kevin Grittner
-
Tom Lane authored
Both dict_int and dict_xsyn were blithely assuming that whatever memory palloc gives back will be pre-zeroed. This would typically work for just about long enough to run their regression tests, and no longer :-(. The pre-9.0 code in dict_xsyn was even lamer than that, as it would happily give back a pointer to the result of palloc(0), encouraging its caller to access off the end of memory. Again, this would just barely fail to fail as long as memory contained nothing but zeroes. Per a report from Rodrigo Hjort that code based on these examples didn't work reliably.
-
- Nov 03, 2011
-
-
Bruce Momjian authored
cleanly handle old/new database mismatches.
-
- Nov 01, 2011
-
-
Peter Eisentraut authored
These are not touched by pgindent, so clean them up a bit manually.
-
Bruce Momjian authored
-