- 17 5月, 2008 11 次提交
-
-
由 Tom Lane 提交于
sequence to be reset to its original starting value. This requires adding the original start value to the set of parameters (columns) of a sequence object, which is a user-visible change with potential compatibility implications; it also forces initdb. Also add hopefully-SQL-compatible RESTART/CONTINUE IDENTITY options to TRUNCATE TABLE. RESTART IDENTITY executes ALTER SEQUENCE RESTART for all sequences "owned by" any of the truncated relations. CONTINUE IDENTITY is a no-op option. Zoltan Boszormenyi
-
由 Tom Lane 提交于
-
由 Tom Lane 提交于
-
由 Tom Lane 提交于
on Apple's gcc and not my other machines, but still it seems worth getting rid of.)
-
由 Magnus Hagander 提交于
should always succeed, but in the likely event of a failure we would previously fall through *without locking* - the new code will exit(1). Printing the error message on stderr will not work for all applications, but it's better than nothing at all - and our API doesn't provide a way to return the error to the caller.
-
由 Tom Lane 提交于
-
由 Tom Lane 提交于
-
由 Bruce Momjian 提交于
Add a few "help" entries. Move \g help entry into "General". Update psql version mismatch warning text. Joshua D. Drake
-
由 Bruce Momjian 提交于
> o -Have \l+ show database size, if permissions allow
-
由 Bruce Momjian 提交于
detection for wrapped lines or lines with newlines that need pager to display.
-
由 Tom Lane 提交于
prefix matching using this facility. Teodor Sigaev and Oleg Bartunov
-
- 16 5月, 2008 5 次提交
-
-
由 Peter Eisentraut 提交于
Author: Euler Taveira de Oliveira <euler@timbira.com>
-
由 Bruce Momjian 提交于
PL/pgSQL > o -Add CASE capability to language (already in SQL)
-
由 Tom Lane 提交于
while building a GIN index.
-
由 Tom Lane 提交于
Pavel Stehule
-
由 Tom Lane 提交于
CoerceViaIO nodes. This improves the ability of the planner to deal with cases where the node input is a constant. Per bug #4170.
-
- 15 5月, 2008 2 次提交
-
-
由 Tom Lane 提交于
functions. Note that because this patch changes FmgrInfo, any external C functions you might be testing with 8.4 will need to be recompiled. Patch by Martin Pihlak, some editorialization by me (principally, removing tracking of getrusage() numbers)
-
由 Tom Lane 提交于
file portability/instr_time.h, and add a couple more macros to eliminate some abstraction leakage we formerly had. Also update psql to use this header instead of its own copy of nearly the same code. This commit in itself is just code cleanup and shouldn't change anything. It lays some groundwork for the upcoming function-stats patch, though.
-
- 14 5月, 2008 7 次提交
-
-
由 Bruce Momjian 提交于
heading at the top; broken into more sections now.
-
由 Bruce Momjian 提交于
-
由 Magnus Hagander 提交于
modes, replacing it with a call to a function that derives it from the sync_method variable, now that it has distinct values for these two cases. This means that assign_xlog_sync_method() no longer changes any settings, thus fixing the bug introduced in the change to use a guc enum for wal_sync_method.
-
由 Magnus Hagander 提交于
asked for anything other than RUSAGE_SELF, since it's not supported. This is never called anywhere in the code today, but might be in the future. Not backpatching, since it's not called anywhere today.
-
由 Bruce Momjian 提交于
-
由 Tom Lane 提交于
HINT fields to a user-thrown error message, and to specify the SQLSTATE error code to use. The syntax has also been tweaked so that the Oracle-compatible case "RAISE exception_name" works (though you won't get a very nice error message if you just write that much). Lastly, support the Oracle-compatible syntax "RAISE" with no parameters to re-throw the current error from within an EXCEPTION block. In passing, allow the syntax SQLSTATE 'nnnnn' within EXCEPTION lists, so that there is a way to trap errors with custom SQLSTATE codes. Pavel Stehule and Tom Lane
-
由 Magnus Hagander 提交于
crashes on certain platforms. In particular, the MSVC runtime is known to do this. Fixes bug #4162, reported and diagnosed by Javier Pimas
-
- 13 5月, 2008 10 次提交
-
-
由 Bruce Momjian 提交于
consistent. OffsetNumberNext() has some casting that makes it useful. Fujii Masao
-
由 Alvaro Herrera 提交于
tables. Brendan Jurd, with some help from me.
-
由 Alvaro Herrera 提交于
before it was actually set.
-
由 Alvaro Herrera 提交于
Provides for better code readability, but mainly this is infrastructure changes to allow further changes such as arbitrary footers on printed tables. Also, the translation status of each element in the table is more easily customized. Brendan Jurd, with some editorialization by me.
-
由 Bruce Momjian 提交于
> * -Improve dead row detection during multi-statement transactions usage
-
由 Alvaro Herrera 提交于
There are two ways to track a snapshot: there's the "registered" list, which is used for arbitrary long-lived snapshots; and there's the "active stack", which is used for the snapshot that is considered "active" at any time. This also allows users of snapshots to stop worrying about snapshot memory allocation and freeing, and about using PG_TRY blocks around ActiveSnapshot assignment. This is all done automatically now. As a consequence, this allows us to reset MyProc->xmin when there are no more snapshots registered in the current backend, reducing the impact that long-running transactions have on VACUUM.
-
由 Magnus Hagander 提交于
O_DSYNC (specifically this broke all the Windows buildfarm members)
-
由 Michael Meskes 提交于
Do not close files that weren't opened.
-
由 Alvaro Herrera 提交于
-
由 Alvaro Herrera 提交于
Remove #include bufmgr.h from (most?) source files which already include bufpage.h.
-
- 12 5月, 2008 3 次提交
-
-
由 Magnus Hagander 提交于
not which one we had before (that worked, and thus is completley irrelevant)
-
由 Magnus Hagander 提交于
-
由 Alvaro Herrera 提交于
unnecessary #include lines in it. Also, move some tuple routine prototypes and macros to htup.h, which allows removal of heapam.h inclusion from some .c files. For this to work, a new header file access/sysattr.h needed to be created, initially containing attribute numbers of system columns, for pg_dump usage. While at it, make contrib ltree, intarray and hstore header files more consistent with our header style.
-
- 10 5月, 2008 2 次提交
-
-
由 Andrew Dunstan 提交于
-
由 Tom Lane 提交于
output column are not emitted. (That change already caused more noise in the regression test output files than I would like.) Provide some needed editorial help for comments, clean up code formatting.
-