- 23 Feb, 2010 7 commits
-
-
Bruce Momjian authored
improve documentation, and add C comment.
-
Bruce Momjian authored
-
Tom Lane authored
-
Bruce Momjian authored
the client encoding.
-
Bruce Momjian authored
statistics.
-
Bruce Momjian authored
to_char with HH, e.g. to_char(interval '0d 0h 12m 44s', 'DD HH24 MI SS'); now returns: 00 00 12 44 not: 00 12 12 44
-
Bruce Momjian authored
format. Pavel Golub
-
- 22 Feb, 2010 11 commits
-
-
Bruce Momjian authored
inheritance in create table, per Andrew Dunstan.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
passing being "covered elsewhere", per Dave Page.
-
Bruce Momjian authored
configure warnings.
-
Bruce Momjian authored
used for continuous archiving.
-
Tom Lane authored
results claiming EBADF seem improbable enough that I'm not convinced fsync is really returning that --- could it be failing to set errno at all?
-
Tom Lane authored
on a platform that doesn't support this operation. The former coding would allow an unrelated errno to be reported, which would be quite misleading. Not sure if this has anything to do with the current buildfarm failures, but it's certainly bogus as-is.
-
Heikki Linnakangas authored
They used to be scattered between the "backup and restore" and "streaming replication" chapters.
-
Tom Lane authored
-
Greg Stark authored
-
- 20 Feb, 2010 6 commits
-
-
Andrew Dunstan authored
-
Tom Lane authored
Add some checks that seem logically necessary, in particular let's make real sure that HS slave sessions cannot create temp tables. (If they did they would think that temp tables belonging to the master's session with the same BackendId were theirs. We *must* not allow myTempNamespace to become set in a slave session.) Change setval() and nextval() so that they are only allowed on temp sequences in a read-only transaction. This seems consistent with what we allow for table modifications in read-only transactions. Since an HS slave can't have a temp sequence, this also provides a nicer cure for the setval PANIC reported by Erik Rijkers. Make the error messages more uniform, and have them mention the specific command being complained of. This seems worth the trifling amount of extra code, since people are likely to see such messages a lot more than before.
-
Bruce Momjian authored
doc change.
-
Bruce Momjian authored
GSSAPI or Kerberos. Ian Turner
-
Bruce Momjian authored
-
Simon Riggs authored
of missing items and minor edits.
-
- 19 Feb, 2010 13 commits
-
-
Tom Lane authored
tuple, instead of the former cpu_tuple_cost. It is sane to charge less than cpu_tuple_cost because Materialize never does any qual-checking or projection, so it's got less overhead than most plan node types. In particular, we want to have the same charge here as is charged for readout in cost_sort. That avoids the problem recently exhibited by Teodor wherein the planner prefers a useless sort over a materialize step in a context where a lot of rescanning will happen. The rescan costs should be just about the same for both node types, so make their estimates the same. Not back-patching because all of the current logic for rescan cost estimates is new in 9.0. The old handling of rescans is sufficiently not-sane that changing this in that structure is a bit pointless, and might indeed cause regressions.
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Bruce Momjian authored
all support it). Per report from Josh Kupershmidt
-
Peter Eisentraut authored
- The message "server stopped" should be affected by the -s option, just like "server started" already was. - The message "could not start server" should consistently go to stderr.
-
Heikki Linnakangas authored
enabled. Bypassing the kernel cache is counter-productive in that case, because the archiver/walsender process will read from the WAL file soon after it's written, and if it's not cached the read will cause a physical read, eating I/O bandwidth available on the WAL drive. Also, walreceiver process does unaligned writes, so disable O_DIRECT in walreceiver process for that reason too.
-
Heikki Linnakangas authored
Erik Rijkers. Patch by Andres Freund.
-
Bruce Momjian authored
gabrielle
-
Bruce Momjian authored
-
Itagaki Takahiro authored
segment of XLOG_BACKUP_END record even if the the record is placed at a segment boundary. Furthermore the previous implementation could return nonexistent segment file name when the boundary is in segments that has "FE" suffix; We never use segments with "FF" suffix. Backpatch to 8.0, where hot backup was introduced. Reported by Fujii Masao.
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Bruce Momjian authored
Greg Smith
-
- 18 Feb, 2010 3 commits
-
-
Tom Lane authored
old memory context in plpython. Before only one of them was marked volatile, but per report from Zdenek Kotala, some compilers do the wrong thing here.
-
Tom Lane authored
ArrayRef expressions that are not in the immediate context of an INSERT or UPDATE targetlist. Such cases never arise in stored rules, so ruleutils.c hadn't tried to handle them. However, they do occur in the targetlists of plans derived from such statements, and now that EXPLAIN VERBOSE tries to print targetlists, we need some way to deal with the case. I chose to represent an assignment ArrayRef as "array[subscripts] := source", which is fairly reasonable and doesn't omit any information. However, FieldStore is problematic because the planner will fold multiple assignments to fields of the same composite column into one FieldStore, resulting in a structure that is hard to understand at all, let alone display comprehensibly. So in that case I punted and just made it print the source expression(s). Backpatch to 8.4 --- the lack of functionality exists in older releases, but doesn't seem to be important for lack of anything that would call it.
-
Tom Lane authored
being assigned to, in case the expression to be assigned is a FieldStore that would need to modify that value. The need for this was foreseen some time ago, but not implemented then because we did not have arrays of composites. Now we do, but the point evidently got overlooked in that patch. Net result is that updating a field of an array element doesn't work right, as illustrated if you try the new regression test on an unpatched backend. Noted while experimenting with EXPLAIN VERBOSE, which has also got some issues in this area. Backpatch to 8.3, where arrays of composites were introduced.
-