You need to sign in or sign up before continuing.
- Jul 03, 2010
-
-
Robert Haas authored
Backpatch to 8.3, which is as far back as we have opfamilies. The opclass portion could probably be backpatched to 8.2, when REASSIGN OWNED was added, but for now I have not done that. Asko Tiidumaa, with minor adjustments by me.
-
Andrew Dunstan authored
-
- Jul 02, 2010
-
-
Robert Haas authored
The previous commit to make copydir() interruptible prevented postgres.exe from linking on MinGW and Cygwin, because on those platforms libpgport_srv.a can't freely reference symbols defined by the backend. Since that code is already backend-specific anyway, just move the whole file into the backend rather than adding further kludges to deal with the symbols needed by CHECK_FOR_INTERRUPTS(). This probably needs some further cleanup, but this commit just moves the file as-is, which should hopefully be enough to turn the buildfarm green again.
-
Bruce Momjian authored
Per idea from Fujii Masao
-
- Jul 01, 2010
-
-
Robert Haas authored
This makes ALTER DATABASE .. SET TABLESPACE and CREATE DATABASE more sensitive to interrupts. Backpatch to 8.4, where ALTER DATABASE .. SET TABLESPACE was introduced. We could go back further, but in the absence of complaints about the CREATE DATABASE case it doesn't seem worth it. Guillaume Lelarge, with a small correction by me.
-
Robert Haas authored
Backpatch to 8.0, where tablespaces were introduced. Guillaume Lelarge
-
- Jun 30, 2010
-
-
Heikki Linnakangas authored
but we have nevertheless exposed them to users via pg_get_expr(). It would be too much maintenance effort to rigorously check the input, so put a hack in place instead to restrict pg_get_expr() so that the argument must come from one of the system catalog columns known to contain valid expressions. Per report from Rushabh Lathia. Backpatch to 7.4 which is the oldest supported version at the moment.
-
- Jun 29, 2010
-
-
Bruce Momjian authored
committed transactions in a postmaster crash.
-
Peter Eisentraut authored
-
Peter Eisentraut authored
pg_pltemplate This should have a catversion bump, but it's still being debated whether it's worth it during beta.
-
- Jun 28, 2010
-
-
Robert Haas authored
In non-interactive sessions, WARNING sorts below LOG.
-
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.
-
- Jun 27, 2010
-
-
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.
-
- Jun 25, 2010
-
-
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.
-
- Jun 24, 2010
-
-
Robert Haas authored
-
- Jun 23, 2010
-
-
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.
-
- Jun 22, 2010
-
-
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.
-
- Jun 21, 2010
-
-
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.
-
- Jun 17, 2010
-
-
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
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
-
Itagaki Takahiro authored
-
- Jun 16, 2010
-
-
Andrew Dunstan authored
in the release notes, as it is not apparently providing anything useful.
-
Peter Eisentraut authored
constant format strings, so that the compiler can more easily check the formats for correctness.
-
- Jun 15, 2010
-
-
Andrew Dunstan authored
-
Itagaki Takahiro authored
description for vacuum_defer_cleanup_age to the correct category. Sections in postgresql.conf are also sorted in the same order with docs. Per gripe by Fujii Masao, suggestion by Heikki Linnakangas, and patch by me.
-
- Jun 14, 2010
-
-
Itagaki Takahiro authored
-
Heikki Linnakangas authored
and retry. If the record is genuinely corrupt in the master database, there's little hope of recovering, but it's better than simply retrying to apply the corrupt WAL record in a tight loop without even trying to retransmit it, which is what we used to do.
-
Itagaki Takahiro authored
in waiting status. The parameter is not so interesting in ps display because it is referable in postgresql.conf.
-
- Jun 13, 2010
-
-
Robert Haas authored
The previous coding failed for OIDs too large to be represented by a signed integer.
-
- Jun 12, 2010
-
-
Bruce Momjian authored
Jan Urba?ski
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Tom Lane authored
--analyze-only switch did not work in its short form -Z. Josh Berkus
-
- Jun 11, 2010
-
-
Heikki Linnakangas authored
string for a streaming replication connection. It's ignored by the server, but allows libpq to pick up the password from .pgpass where "replication" is specified as the database name. Patch by Fujii Masao per Tom's suggestion, with some wording changes by me.
-
- Jun 10, 2010
-
-
Itagaki Takahiro authored
-
Heikki Linnakangas authored
Fujii Masao
-