- 13 Mar, 2007 1 commit
-
-
Tom Lane authored
module and teach PREPARE and protocol-level prepared statements to use it. In service of this, rearrange utility-statement processing so that parse analysis does not assume table schemas can't change before execution for utility statements (necessary because we don't attempt to re-acquire locks for utility statements when reusing a stored plan). This requires some refactoring of the ProcessUtility API, but it ends up cleaner anyway, for instance we can get rid of the QueryContext global. Still to do: fix up SPI and related code to use the plan cache; I'm tempted to try to make SQL functions use it too. Also, there are at least some aspects of system state that we want to ensure remain the same during a replan as in the original processing; search_path certainly ought to behave that way for instance, and perhaps there are others.
-
- 12 Mar, 2007 2 commits
-
-
Peter Eisentraut authored
are removed from the configuration file. Joachim Wieland
-
Magnus Hagander authored
-
- 11 Mar, 2007 1 commit
-
-
Alvaro Herrera authored
to fail if an object was removed between calls to ReadDir() and stat(). Per discussion in pgsql-hackers. http://archives.postgresql.org/pgsql-hackers/2007-03/msg00671.php Bug report and patch by Michael Fuhr.
-
- 10 Mar, 2007 1 commit
-
-
Andrew Dunstan authored
-
- 08 Mar, 2007 2 commits
-
-
Magnus Hagander authored
inline cleanup call around so it will be called in the right order, and be called on errors. Per report from Tokuharu Yuzawa.
-
Tom Lane authored
even if none of the fields in the pg_class row change. This behavior is necessary to ensure other backends flush rd_targblock values that might point to truncated-away pages. We got this right pre-8.2 but it was broken by overoptimistic change to not write out the pg_class row if unchanged. Per report from Pavan Deolasee.
-
- 07 Mar, 2007 2 commits
-
-
Teodor Sigaev authored
fix it. Add macroses DatumGetNDBOX, PG_GETARG_NDBOX and PG_RETURN_NDBOX. Backpatch for 8.2 too. Previous versions use version 0 calling conventions. And fmgr code detoast values for user-defined functions.
-
Alvaro Herrera authored
comments and variables to "auxiliary proc", per Heikki's request.
-
- 06 Mar, 2007 5 commits
-
-
Tom Lane authored
check_sql_fn_retval allows binary-compatibility cases, the expression extracted from an inline-able SQL function might have a type that is only binary-compatible with the declared function result type. To avoid possibly changing the semantics of the expression, we should insert a RelabelType node in such cases. This has only been shown to have bad consequences in recent 8.1 and up releases, but I suspect there may be failure cases in the older branches too, so patch it all the way back. Per bug #3116 from Greg Mullane. Along the way, fix an omission in eval_const_expressions_mutator: it failed to copy the relabelformat field when processing a RelabelType. No known observable failures from this, but it definitely isn't intended behavior.
-
Magnus Hagander authored
-
Peter Eisentraut authored
-
Peter Eisentraut authored
by Toru SHIMOGAKI
-
Bruce Momjian authored
-
- 05 Mar, 2007 4 commits
-
-
Bruce Momjian authored
comments, and cleanup functions. Remove copyright that is no longer relevant.
-
Bruce Momjian authored
-
Magnus Hagander authored
libpq. We need to keep libpq to build static libraries and to use PQtrace with clients using older versions of MSVC.
-
Neil Conway authored
-
- 03 Mar, 2007 13 commits
-
-
Neil Conway authored
with the recent largeobject cosmetic fixes. Jeremy Drake.
-
Bruce Momjian authored
Jeremy Drake
-
Bruce Momjian authored
Heikki Linnakangas
-
Bruce Momjian authored
Simon Riggs
-
Bruce Momjian authored
Florian G. Pflug
-
Bruce Momjian authored
Kris Jurka
-
Neil Conway authored
fixup various places in the tree that were clearing a StringInfo by hand. Making this function a part of the API simplifies client code slightly, and avoids needlessly peeking inside the StringInfo interface.
-
Bruce Momjian authored
Darcy Buskermolen
-
Bruce Momjian authored
Simon Riggs
-
Bruce Momjian authored
> o -Allow psql \pset boolean variables to set to fixed values, rather
-
Bruce Momjian authored
toggle. Chad Wagner
-
Bruce Momjian authored
-
Bruce Momjian authored
* Add REPLACE or UPSERT command that does UPDATE, or on failure, INSERT [merge]
-
- 02 Mar, 2007 6 commits
-
-
Tom Lane authored
log_min_messages does; and arrange to suppress the duplicative output that would otherwise result from log_statement and log_duration messages. Bruce Momjian and Tom Lane.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Tom Lane authored
-
Tom Lane authored
this, add a 16-bit "flags" field to page headers by stealing some bits from pd_tli. We use one flag bit as a hint to indicate whether there are any unused line pointers; the remaining 15 are available for future use. This is a cut-down form of an idea proposed by Hiroki Kataoka in July 2005. At the time it was rejected because the original patch increased the size of page headers and it wasn't clear that the benefit outweighed the distributed cost. The flag-bit approach gets most of the benefit without requiring an increase in the page header size. Heikki Linnakangas and Tom Lane
-
- 01 Mar, 2007 3 commits
-
-
Tom Lane authored
-
Tom Lane authored
It has been wrong for this case since it was first written for 7.1 :-( Per report from Pavel Hanák.
-
Peter Eisentraut authored
Pavel Stehule
-