- 28 Jun, 2010 1 commit
-
-
Tom Lane authored
as well as fseeko, and to not assume that fseeko(fp, 0, SEEK_CUR) proves anything. Also improve some related comments. Per my observation that the SEEK_CUR test didn't actually work on some platforms, and subsequent discussion with Robert Haas. Back-patch to 8.4. In earlier releases it's not that important whether we get the hasSeek test right, but with parallel restore it matters.
-
- 27 Jun, 2010 1 commit
-
-
Tom Lane authored
contain data offsets (which it won't, if pg_dump thought its output wasn't seekable). To do that, remove an unnecessarily aggressive error check, and instead fail if we get to the end of the archive without finding the desired data item. Also improve the error message to be more specific about the cause of the problem. Per discussion of recent report from Igor Neyman. Back-patch to 8.4 where parallel restore was introduced.
-
- 25 Jun, 2010 4 commits
-
-
Robert Haas authored
The revised documentation makes it more clear that these are client-side parameters, rather than server side parameters. It also puts the main point of each parameter first, and consolidates the conditions under which it might be ignored in a single list at the end.
-
Robert Haas authored
Chris Browne, based on a report from John Pierce.
-
Tom Lane authored
of YYSTYPE, and hence returning the wrong answer for cases where a plpgsql "unreserved keyword" really does conflict with a variable name. Obviously I didn't test this enough :-(. Per bug #5524 from Peter Gagarinov.
-
Simon Riggs authored
stat(2) field st_size returns bytes not kilobytes. Bug found during recent performance tuning for PostgreSQL user.
-
- 24 Jun, 2010 4 commits
-
-
Robert Haas authored
Thanks to Joshua Tolley for the review.
-
Robert Haas authored
Josh Berkus
-
Robert Haas authored
-
Bruce Momjian authored
-
- 23 Jun, 2010 2 commits
-
-
Robert Haas authored
This adds four additional connection parameters to libpq: keepalives, keepalives_idle, keepalives_count, and keepalives_interval. keepalives default to on, per discussion, but can be turned off by specifying keepalives=0. The remaining parameters, where supported, can be used to adjust how often keepalives are sent and how many can be lost before the connection is broken. The immediate motivation for this patch is to make sure that walreceiver will eventually notice if the master reboots without closing the connection cleanly, but it should be helpful in other cases as well. Tollef Fog Heen, Fujii Masao, and me.
-
Bruce Momjian authored
-
- 22 Jun, 2010 5 commits
-
-
Bruce Momjian authored
output to the same file, because it is impossible. Also set user name for pg_dumpall in pg_upgrade.
-
Bruce Momjian authored
win32 and non-win32 platforms.
-
Robert Haas authored
This is an oversight in my previous patch to deprecate => as an operator name. Per buildfarm.
-
Robert Haas authored
In HEAD, emit a warning when an operator named => is defined. In both HEAD and the backbranches (except in 8.2, where contrib modules do not have documentation), document that hstore's text => text operator may be removed in a future release, and encourage the use of the hstore(text, text) function instead. This function only exists in HEAD (previously, it was called tconvert), so backpatch it back to 8.2, when hstore was added. Per discussion.
-
Robert Haas authored
-
- 21 Jun, 2010 2 commits
-
-
Heikki Linnakangas authored
might close the cursor, rendering the Portal pointer to it invalid. Closing the cursor in the middle of the loop is not a very sensible thing to do, but we must handle it gracefully and throw an error instead of crashing.
-
Tom Lane authored
If such a Var appeared within a nested sub-select, we failed to translate it correctly during pullup of the view, because the recursive call to replace_rte_variables_mutator was looking for the wrong sublevels_up value. Bug was introduced during the addition of the PlaceHolderVar mechanism. Per bug #5514 from Marcos Castedo.
-
- 18 Jun, 2010 1 commit
-
-
Robert Haas authored
This is not yet in any released version, so we still have the option to change the name. We may want to reserve the token => in a future release.
-
- 17 Jun, 2010 8 commits
-
-
Tom Lane authored
put the variable declaration in the middle of a bunch of externs, and do use extern where it should be used.
-
Tom Lane authored
log and seg aren't an XLogRecPtr and shouldn't be printed like one. Fujii Masao
-
Tom Lane authored
sane places, make messages follow project's message style guidelines. Also, avoid closedir(NULL). Fujii Masao and Tom Lane
-
Tom Lane authored
Spotted by Evan Carroll.
-
Tom Lane authored
master. Otherwise a subsequent crash could cause the master to lose WAL that has already been applied on the slave, resulting in the slave being out of sync and soon corrupt. Per recent discussion and an example from Robert Haas. Fujii Masao
-
Tom Lane authored
-
Robert Haas authored
Fujii Masao, with some further wordsmithing by me.
-
Itagaki Takahiro authored
-
- 16 Jun, 2010 6 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
Have <command>SELECT</> and <command>CREATE TABLE AS</> return row counts to the client
-
Bruce Momjian authored
Josh Berkus
-
Andrew Dunstan authored
in the release notes, as it is not apparently providing anything useful.
-
Peter Eisentraut authored
TRANSLATION in the SQL standard.
-
Peter Eisentraut authored
constant format strings, so that the compiler can more easily check the formats for correctness.
-
- 15 Jun, 2010 6 commits
-
-
Bruce Momjian authored
Steve Singer
-
Tom Lane authored
dblink_build_sql_insert() and related functions. Now the column numbers are treated as logical not physical column numbers. This will provide saner behavior in the presence of dropped columns; furthermore, if we ever get around to allowing rearrangement of logical column ordering, the original definition would become nearly untenable from a usability standpoint. Per recent discussion of dblink's handling of dropped columns. Not back-patched for fear of breaking existing applications.
-
Bruce Momjian authored
-
Robert Haas authored
This is not yet in any released version, so we still have the option to backtrack. Instead, document hstore(text[], text[]). Per discussion.
-
Tom Lane authored
columns correctly. In passing, get rid of some dead logic in the underlying get_sql_insert() etc functions --- there is no caller that will pass null value-arrays to them. Per bug report from Robert Voinea.
-
Robert Haas authored
In particular, note that autovacuum does not yet understand that it might need to vacuum inheritance parents as a result of changes to the child tables.
-