- Jan 02, 2011
-
-
Robert Haas authored
Foreign tables are a core component of SQL/MED. This commit does not provide a working SQL/MED infrastructure, because foreign tables cannot yet be queried. Support for foreign table scans will need to be added in a future patch. However, this patch creates the necessary system catalog structure, syntax support, and support for ancillary operations such as COMMENT and SECURITY LABEL. Shigeru Hanada, heavily revised by Robert Haas
-
- Jan 01, 2011
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
pointers, which simplifies the code. This was not possible in 9.0 because everything was in a single nested struct, but is possible now. Per suggestion from Tom.
-
Bruce Momjian authored
-
- Dec 29, 2010
-
-
Tom Lane authored
Don't insist on pg_dumpall and psql being present in the old cluster, since they are not needed. Do insist on pg_resetxlog being present (in both old and new), since we need it. Also check for pg_config, but only in the new cluster. Remove the useless attempt to call pg_config in the old cluster; we don't need to know the old value of --pkglibdir. (In the case of a stripped-down migration installation there might be nothing there to look at anyway, so any future change that might reintroduce that need would have to be considered carefully.) Per my attempts to build a minimal previous-version installation to support pg_upgrade.
-
- Dec 27, 2010
-
-
Bruce Momjian authored
-
- Dec 22, 2010
-
-
Robert Haas authored
It appears that this will be faster for all but the shortest strings; at least one some platforms, memcmp() can use word-at-a-time comparisons. Noah Misch, somewhat pared down.
-
- Dec 19, 2010
-
-
Tom Lane authored
After parsing a parenthesized subexpression, we must pop all pending ANDs and NOTs off the stack, just like the case for a simple operand. Per bug #5793. Also fix clones of this routine in contrib/intarray and contrib/ltree, where input of types query_int and ltxtquery had the same problem. Back-patch to all supported versions.
-
- Dec 16, 2010
-
-
Tom Lane authored
This patch replaces Guttman's generalized split method with a simple sort-by-center-points algorithm. Since the data is only one-dimensional we don't really need the slow and none-too-stable Guttman method. This is in part a bug fix, since seg has the same size_alpha versus size_beta typo that was recently fixed in contrib/cube. It seems prudent to apply this rather aggressive fix only in HEAD, though. Back branches will just get the typo fix. Alexander Korotkov, reviewed by Yeb Havinga
-
- Dec 15, 2010
-
-
Bruce Momjian authored
documentation. (Many were left over from the old pg_migrator naming.)
-
- Dec 11, 2010
-
-
Tom Lane authored
1. Don't reimplement S_ISDIR() and S_ISREG() badly. 2. Don't reimplement access() badly. This code appears to have been copied from ancient versions of the corresponding backend routines, and not patched to incorporate subsequent fixes (see my commits of 2008-03-31 and 2010-01-14 respectively). It might be a good idea to change it to just *call* those routines, but for now I'll just transpose these fixes over.
-
- Dec 04, 2010
-
-
Tom Lane authored
Teodor Sigaev, with some revision by Tom
-
- Nov 29, 2010
-
-
Robert Haas authored
Fujii Masao
-
- Nov 27, 2010
-
-
Robert Haas authored
KaiGai Kohei, with a few changes by me.
-
- Nov 26, 2010
-
-
Tom Lane authored
Most of the functions that execute XPath queries leaked the data structures created by libxml2. This memory would not be recovered until end of session, so it mounts up pretty quickly in any serious use of the feature. Per report from Pavel Stehule, though this isn't his patch. Back-patch to all supported branches.
-
- Nov 25, 2010
-
-
Itagaki Takahiro authored
except creating new connections.
-
- Nov 23, 2010
-
-
Peter Eisentraut authored
-
- Nov 20, 2010
-
-
Robert Haas authored
This eliminates the need for inefficient implementions of this functionality in both contrib/dblink and contrib/tablefunc, so remove them. The upcoming patch implementing an in-core format() function will also require this functionality. In passing, add some regression tests.
-
- Nov 15, 2010
-
-
Robert Haas authored
Alexander Korotkov
-
Robert Haas authored
Itagaki Takahiro, with slight modifications.
-
- Nov 12, 2010
-
-
Robert Haas authored
Having this in src/include/port.h makes no sense, now that copydir.c lives in src/backend/strorage rather than src/port. Along the way, remove an obsolete comment from contrib/pg_upgrade that makes reference to the old location.
-
Peter Eisentraut authored
Replace for loops in makefiles with proper dependencies. Parallel make can now span across directories. Also, make -k and make -q work properly. GNU make 3.80 or newer is now required.
-
- Nov 04, 2010
-
-
Tom Lane authored
Dirk Heinrichs
-
- Nov 02, 2010
-
-
Tom Lane authored
Problem reported, and cause identified, by Hernan Gonzalez.
-
- Oct 26, 2010
-
-
Peter Eisentraut authored
-
Itagaki Takahiro authored
-
- Oct 25, 2010
-
-
Tom Lane authored
After much expenditure of effort, we've got this to the point where the performance penalty is pretty minimal in typical cases. Andrew Dunstan, reviewed by Brendan Jurd, Dean Rasheed, and Tom Lane
-
- Oct 22, 2010
-
-
Robert Haas authored
Spotted by Alexander Korotkov. Along the way, remove a misleading comment line.
-
- Oct 20, 2010
-
-
Bruce Momjian authored
-
Heikki Linnakangas authored
following NULL check was never reached. This problem was found by Coccinelle (null_ref.cocci from coccicheck). Marti Raudsepp
-
Robert Haas authored
Jan Otto, reviewed by Peter Geoghegan
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
pg_upgrade slowness for 150k tables.
-
Bruce Momjian authored
scandir() with a pattern for every table. Optimization after report of pg_upgrade slowness with 150k tables.
-
Bruce Momjian authored
-
- Oct 19, 2010
-
-
Bruce Momjian authored
than packing everything into 'ctx' and passing that to every function.
-
Bruce Momjian authored
-