Commits

Show all
Author Commit Message Labels Comments Date
Heikki Linnakangas
Add #includes needed on some platforms in the new files. Hopefully this makes the *BSD buildfarm animals happy.
Heikki Linnakangas
Split off functions related to timeline history files and XLOG archiving. This is just refactoring, to make the functions accessible outside xlog.c. A followup patch will make use of that, to allow fetching timeline history files over streaming replication.
Heikki Linnakangas
Fix access past end of string in date parsing. This affects date_in(), and a couple of other funcions that use DecodeDate(). Hitoshi Harada
Bruce Momjian
Add C comment that IsBackendPid() is called by external modules, so we don't accidentally remove it.
Alvaro Herrera
Remove collations from generic ALTER test The error messages they generate are not portable enough. Also, since the only point of the alter_generic_1 expected file was to cover platforms with no collation support, it's now useless, so remove it.
Heikki Linnakangas
The max shared_buffers value that initdb will choose was raised, update docs. Jeff Janes
Tom Lane
Provide some static-assertion functionality on all compilers. On reflection (especially after noticing how many buildfarm critters have __builtin_types_compatible_p but not _Static_assert), it seems like we ought to try a bit harder to make these macros do something everywhere. The initial cut at it would have been no help to code that is compiled only on platforms without _Static_assert, for instance; and in any case not all our contributors do their initia…
Tom Lane
Add infrastructure for compile-time assertions about variable types. Currently, the macros only work with fairly recent gcc versions, but there is room to expand them to other compilers that have comparable features. Heavily revised and autoconfiscated version of a patch by Andres Freund.
Peter Eisentraut
psql: Mark table headers in \drds output for translation
Peter Eisentraut
Disable _FORTIFY_SOURCE with ICC There are apparently some incompatibilities, per buildfarm.
Tom Lane
Fix bugs in "restore.sql" script emitted in pg_dump tar output. The tar output module did some very ugly and ultimately incorrect hacking on COPY commands to try to get them to work in the context of restoring a deconstructed tar archive. In particular, it would fail altogether for table names containing any upper-case characters, since it smashed the command string to lower-case before modifying it (and, just to add insult to injury, did that in a way that w…
Peter Eisentraut
Add _FORTIFY_SOURCE to default compiler options for linux template Many distributors use this, so we might as well see the warnings as well.
Peter Eisentraut
PL/Python: Remove workaround for returning booleans in Python <2.3 Since Python 2.2 is no longer supported, we can now use Py_RETURN_TRUE and Py_RETURN_FALSE instead of the old workaround.
Peter Eisentraut
PL/Python: Convert oid to long/int oid is a numeric type, so transform it to the appropriate Python numeric type like the other ones.
Alvaro Herrera
Add alternative expected output for alter_generic The original only expected file failed to consider machines without non-default collation support. Per buildfarm. Also, move the test to another parallel group; the one it was originally put in is already full according to comments in the schedule file. Per note from Tom Lane.
Andrew Dunstan
Remove checks for now long outdated compilers.
Alvaro Herrera
Add alter_generic regression test This makes refactoring of parts of the ALTER command safe(r) because we ensure no change in functionality. Author: KaiGai Kohei
Tom Lane
Fix tar files emitted by pg_dump and pg_basebackup to be POSIX conformant. Both programs got the "magic" string wrong, causing standard-conforming tar implementations to believe the output was just legacy tar format without any POSIX extensions. This doesn't actually matter that much, especially since pg_dump failed to fill the POSIX fields anyway, but still there is little point in emitting tar format if we can't be compliant with the standard. In addition, pg_dump fa…
Peter Eisentraut
Produce textual error messages for LDAP issues instead of numeric codes
Tom Lane
Fix btmarkpos/btrestrpos to handle array keys. This fixes another error in commit 9e8da0f75731aaa7605cf4656c21ea09e84d2eb1. I neglected to make the mark/restore functionality save and restore the current set of array key values, which led to strange behavior if an IndexScan with ScalarArrayOpExpr quals was used as the inner side of a mergejoin. Per bug #7570 from Melese Tesfaye.
Alvaro Herrera
Have pg_terminate/cancel_backend not ERROR on non-existent processes This worked fine for superusers, but not for ordinary users trying to cancel their own processes. Tweak the order the checks are done in so that we correctly return SIGNAL_BACKEND_ERROR (which current callers know to ignore without erroring out) so that an ordinary user can loop through a resultset without fearing that a process might exit in the middle of said looping -- causing the remaining pr…
Tom Lane
Run check_keywords.pl anytime gram.c is rebuilt. This script is a bit slow, but still it only takes a fraction of the time the bison run does, so the overhead doesn't seem intolerable. And we definitely need some mechanical aid here, because people keep missing the need to add new keywords to the appropriate keyword-list production. While at it, I moved check_keywords.pl from src/tools into src/backend/parser where it's actually used, and did …
Peter Eisentraut
pg_upgrade test: Disable fsync in initdb and postgres calls This mirrors the behavior of pg_regress and makes the test run much faster.
Tom Lane
Make plpgsql's unreserved keywords more unreserved. There were assorted places where unreserved keywords were not treated the same as T_WORD (that is, a random unrecognized identifier). Fix them. It might not always be possible to allow this, but it is in all these places, so I don't see any downside. Per gripe from Jim Wilson. Arguably this is a bug fix, but given the lack of other complaints and the ease of working around it (just quote the wo…
Tom Lane
Add new EVENT keyword to unreserved_keyword production. Once again, somebody who ought to know better forgot this. We really need some automated cross-check on the keyword-list productions, I think. Per report from Brian Weaver.
Tom Lane
Fix examples of how to use "su" while starting the server. The syntax "su -c 'command' username" is not accepted by all versions of su, for example not OpenBSD's. More portable is "su username -c 'command'". So change runtime.sgml to recommend that syntax. Also, add a -D switch to the OpenBSD example script, for consistency with other examples. Per Denis Lapshin and Gábor Hidvégi.
Heikki Linnakangas
Add support for include_dir in config file. This allows easily splitting configuration into many files, deployed in a directory. Magnus Hagander, Greg Smith, Selena Deckelmann, reviewed by Noah Misch.
Tom Lane
Prevent emitting "ALTER VIEW foo SET ()". Small oversight in commit 0f524ea0cf388a149f362e48a33c01662eeddc04 ... per report from Grazvydas Valeika.
Alvaro Herrera
RELEASE_NOTES: Fix typo Jan Urbański
Peter Eisentraut
Update translation updates instructions
  1. Prev
  2. Next