- 17 May, 2008 12 commits
-
-
Bruce Momjian authored
that platform.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Peter Eisentraut authored
-
Tom Lane authored
Per buildfarm results.
-
Tom Lane authored
exits with nonzero status. The Windows part of this is untested ...
-
Tom Lane authored
spoonbill, though one wonders why it didn't misbehave everywhere. In passing remove some unnecessary modulo calculations.
-
Tom Lane authored
Formerly, the default value of wal_sync_method was determined inside xlog.c, but now it is determined inside guc.c. guc.c was reading xlogdefs.h without having read <fcntl.h>, leading to wrong determination of DEFAULT_SYNC_METHOD. Obviously xlogdefs.h needs to include <fcntl.h> for itself to ensure stable results.
-
Tom Lane authored
-
Andrew Dunstan authored
-
Andrew Dunstan authored
This particular batch was just for *.c and *.h file. The changes were made with the following 2 commands: find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \) -prune \) -o \( -name '*.[ch]' \) \( -exec grep -q '\$PostgreSQL' {} \; -o -print \) | while read file ; do head -n 1 < $file | grep -q '^/\*' && echo $file; done | xargs -l sed -i -e '1s/^\// /' -e '1i/*\n * $PostgreSQL:$ \n *' find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \) -prune \) -o \( -name '*.[ch]' \) \( -exec grep -q '\$PostgreSQL' {} \; -o -print \) | xargs -l sed -i -e '1i/*\n * $PostgreSQL:$ \n */'
-
Tom Lane authored
sequence. This seems an obvious extension to the recent patch, and it makes the code noticeably cleaner and more orthogonal.
-
- 16 May, 2008 15 commits
-
-
Tom Lane authored
-
Tom Lane authored
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 authored
-
Tom Lane authored
-
Tom Lane authored
on Apple's gcc and not my other machines, but still it seems worth getting rid of.)
-
Magnus Hagander authored
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 authored
-
Tom Lane authored
-
Bruce Momjian authored
Add a few "help" entries. Move \g help entry into "General". Update psql version mismatch warning text. Joshua D. Drake
-
Bruce Momjian authored
> o -Have \l+ show database size, if permissions allow
-
Bruce Momjian authored
detection for wrapped lines or lines with newlines that need pager to display.
-
Tom Lane authored
prefix matching using this facility. Teodor Sigaev and Oleg Bartunov
-
Peter Eisentraut authored
Author: Euler Taveira de Oliveira <euler@timbira.com>
-
Bruce Momjian authored
PL/pgSQL > o -Add CASE capability to language (already in SQL)
-
Tom Lane authored
while building a GIN index.
-
- 15 May, 2008 3 commits
-
-
Tom Lane authored
Pavel Stehule
-
Tom Lane authored
CoerceViaIO nodes. This improves the ability of the planner to deal with cases where the node input is a constant. Per bug #4170.
-
Tom Lane authored
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)
-
- 14 May, 2008 6 commits
-
-
Tom Lane authored
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.
-
Bruce Momjian authored
heading at the top; broken into more sections now.
-
Bruce Momjian authored
-
Magnus Hagander authored
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 authored
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 authored
-
- 13 May, 2008 4 commits
-
-
Tom Lane authored
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 authored
crashes on certain platforms. In particular, the MSVC runtime is known to do this. Fixes bug #4162, reported and diagnosed by Javier Pimas
-
Bruce Momjian authored
consistent. OffsetNumberNext() has some casting that makes it useful. Fujii Masao
-
Alvaro Herrera authored
tables. Brendan Jurd, with some help from me.
-