- 25 Feb, 2008 1 commit
-
-
Peter Eisentraut authored
SUBSYS.o step and allow for better optimization by the linker. Instead of partial linking into SUBSYS.o, the list of object files is assembled in objfiles.txt files that are expanded when the final linking is done. Because we are not yet sure how long command lines different platforms can handle, the old way of linking is still available, by defining the make variable PARTIAL_LINKING (e.g., make all PARTIAL_LINKING=1). If we determine that this is necessary for some platforms, then we will document this in a more prominent place.
-
- 24 Feb, 2008 1 commit
-
-
Tom Lane authored
versions don't handle long options the way we want. Per Zdenek Kotala.
-
- 23 Feb, 2008 2 commits
-
-
Tom Lane authored
platforms this works, but on some it crashes. Zdenek Kotala
-
Tom Lane authored
represented as "char ...[4]" not "int32". Since the length word is never supposed to be accessed via this struct member anyway, this won't break any existing code that is following the rules. The advantage is that C compilers will no longer assume that a pointer to struct varlena is word-aligned, which prevents incorrect optimizations in TOAST-pointer access and perhaps other places. gcc doesn't seem to do this (at least not at -O2), but the problem is demonstrable on some other compilers. I changed struct inet as well, but didn't bother to touch a lot of other struct definitions in which it wouldn't make any difference because there were other fields forcing int alignment anyway. Hopefully none of those struct definitions are used for accessing unaligned Datums.
-
- 20 Feb, 2008 6 commits
-
-
Tom Lane authored
make it a bit clearer what it is, and get rid of duplicate definitions in initdb and pg_ctl.
-
Tom Lane authored
programs: use puts with a compile-time-constant string.
-
Tom Lane authored
non-default settings for the postmaster's port number. The code to parse command line options and postgresql.conf entries wasn't quite right about whitespace or quotes, and it was coded in a not-very-readable way too. Per bug #3969 from Itagaki Takahiro, though this is more extensive than his proposed patch (which fixed only the whitespace problem). This code has been broken since it was put in in 8.0, so patch all the way back.
-
Tom Lane authored
OID or new relfilenode. If the existing OIDs are sufficiently densely populated, this could take a long time (perhaps even be an infinite loop), so it seems wise to allow the system to respond to a cancel interrupt here. Per a gripe from Jacky Leng. Backpatch as far as 8.1. Older versions just fail on OID collision, instead of looping.
-
Alvaro Herrera authored
Per gripe from Clodoaldo Pinto Neto on Message-ID: <a595de7a0801060326qbfc790ax2a60573043c2e2be@mail.gmail.com>
-
Alvaro Herrera authored
from Jaime Casanova.
-
- 19 Feb, 2008 10 commits
-
-
Peter Eisentraut authored
-
Magnus Hagander authored
port files, which obviously didn't compile)
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Magnus Hagander authored
-
Magnus Hagander authored
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 18 Feb, 2008 4 commits
-
-
Tom Lane authored
and RI_FKey_keyequal_upd_fk, as well as no-longer-needed calls of ri_BuildQueryKeyFull. Aside from saving a few cycles, this avoids needless deadlock risks when an update is not changing the columns that participate in an RI constraint. Per a gripe from Alexey Nalbat. Back-patch to 8.3. Earlier releases did have a need to open the other relation due to the way in which they retrieved information about the RI constraint, so this problem unfortunately can't easily be improved pre-8.3. Tom Lane and Stephan Szabo
-
Bruce Momjian authored
reorganize code for NetBSD/BSDi port/fseeko.c usage, and make code more modular.
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
- 17 Feb, 2008 4 commits
-
-
Michael Meskes authored
- Changed INFORMIX mode symbol definition yet again because the old way didn't work on NetBSD. Hopefully this one does.
-
Peter Eisentraut authored
- Change configure.in to use Autoconf 2.61 and update generated files. - Update build system and documentation to support now directory variables offered by Autoconf 2.61. - Replace usages of PGAC_CHECK_ALIGNOF by AC_CHECK_ALIGNOF, now available in Autoconf 2.61. - Drop our patched version of AC_C_INLINE, as Autoconf now has the change.
-
Tom Lane authored
on Linux.
-
Tom Lane authored
data structures and backend internal APIs. This solves problems we've seen recently with inconsistent layout of pg_control between machines that have 32-bit time_t and those that have already migrated to 64-bit time_t. Also, we can get out from under the problem that Windows' Unix-API emulation is not consistent about the width of time_t. There are a few remaining places where local time_t variables are used to hold the current or recent result of time(NULL). I didn't bother changing these since they do not affect any cross-module APIs and surely all platforms will have 64-bit time_t before overflow becomes an actual risk. time_t should be avoided for anything visible to extension modules, however.
-
- 16 Feb, 2008 6 commits
-
-
Bruce Momjian authored
< > * -Allow AS in "SELECT col AS label" to be optional in certain cases > < * Allow AS in "SELECT col AS label" to be optional (not wanted)
-
Tom Lane authored
outside the 32-bit-time_t range. Also, refer to Olson's tz database as the 'zoneinfo' database, a name that upstream sometimes uses, not 'zic database' which they never use.
-
Tom Lane authored
this adds support for 64-bit tzdata files, which is needed to support DST calculations beyond 2038. Add a regression test case to give some minimal confidence that that really works. Heikki Linnakangas
-
Bruce Momjian authored
log_checkpoints in 8.3.
-
Bruce Momjian authored
checkpoints.
-
Bruce Momjian authored
verify_peer_name_matches_certificate(), clarify some of the function's variables and logic, and update a comment. This should make SSL improvements easier in the future.
-
- 15 Feb, 2008 3 commits
-
-
Tom Lane authored
(or RETURNING), but only when the output name is not any SQL keyword. This seems as close as we can get to the standard's syntax without a great deal of thrashing. Original patch by Hiroshi Saito, amended by me.
-
Tom Lane authored
This was probably protecting some implementation limitation when it was put in, but as far as I can tell the planner and executor have no such assumption anymore; the case seems to work fine. Per a gripe from Grzegorz Jaskiewicz.
-
Michael Meskes authored
-
- 14 Feb, 2008 3 commits
-
-
Tom Lane authored
was Tcl 8.4.8. The main changes are to remove the never-fully-implemented code for multi-character collating elements, and to const-ify some stuff a bit more fully. In combination with the recent security patch, this commit brings us into line with Tcl 8.5.0. Note that I didn't make any effort to duplicate a lot of cosmetic changes that they made to bring their copy into line with their own style guidelines, such as adding braces around single-line IF bodies. Most of those we either had done already (such as ANSI-fication of function headers) or there is no point because pgindent would undo the change anyway.
-
Michael Meskes authored
- Changed regression test accordingly.
-
Michael Meskes authored
The only correct change was: - Added SQLSTATE macro closing bug #3961.
-