- 22 Jun, 2006 1 commit
-
-
Tom Lane authored
-
- 21 Jun, 2006 9 commits
-
-
Tom Lane authored
setup_win32_locks() call formerly was, to ensure that cancelConnLock is valid when it needs to be. Per Yoshiyuki Asaba.
-
Tom Lane authored
aggregates. We just disallowed that, and AFAICS there should be no other cases where direct (non-aggregated) references to input columns are allowed in a query with aggregation and no GROUP BY.
-
Tom Lane authored
This is disallowed by the SQL spec because it doesn't have any very sensible interpretation. Historically Postgres has allowed it but behaved strangely. As of PG 8.1 a server crash is possible if the MIN/MAX index optimization gets applied; rather than try to "fix" that, it seems best to just enforce the spec restriction. Per report from Josh Drake and Alvaro Herrera.
-
Tom Lane authored
Eliminate a gratuitously different wording of the 'cannot use aggregate function in check constraint' error message.
-
Joe Conway authored
initially be 0. This is needed as a previous ABORT might have wiped out an automatically opened transaction without maintaining the cursor count. - Fix regression test expected file for the correct ERROR message, which we now get given the above bug fix.
-
Tom Lane authored
GetVariable() and be consistent about treatment of the list header. Motivated by noticing strspn() taking an unreasonable percentage of runtime --- the call removed from GetVariable() was the only one that could be in a high-usage path ...
-
Michael Meskes authored
-
Michael Meskes authored
-
Michael Meskes authored
Added missing error handling in a few functions in ecpglib
-
- 20 Jun, 2006 2 commits
-
-
Tom Lane authored
changing semantics too much. statement_timestamp is now set immediately upon receipt of a client command message, and the various places that used to do their own gettimeofday() calls to mark command startup are referenced to that instead. I have also made stats_command_string use that same value for pg_stat_activity.query_start for both the command itself and its eventual replacement by <IDLE> or <idle in transaction>. There was some debate about that, but no argument that seemed convincing enough to justify an extra gettimeofday() call.
-
Tom Lane authored
libpq/md5.h, so that there's a clear separation between backend-only definitions and shared frontend/backend definitions. (Turns out this is reversing a bad decision from some years ago...) Fix up references to crypt.h as needed. I looked into moving the code into src/port, but the headers in src/include/libpq are sufficiently intertwined that it seems more work than it's worth to do that.
-
- 19 Jun, 2006 3 commits
-
-
Tom Lane authored
functions.
-
Michael Meskes authored
<joachim.wieland@credativ.de>
-
Tom Lane authored
current commands; instead, store current-status information in shared memory. This substantially reduces the overhead of stats_command_string and also ensures that pg_stat_activity is fully up to date at all times. Per my recent proposal.
-
- 18 Jun, 2006 5 commits
-
-
Bruce Momjian authored
-
Tom Lane authored
for it. Hopefully will fix core dump evidenced by some buildfarm members since fadvise patch went in. The actual definition of the function is not ABI-compatible with compiler's default assumption in the absence of any declaration, so it's clearly unsafe to try to call it without seeing a declaration.
-
Tom Lane authored
Darwin's libedit; per my proposal last August. Also, suppress cast-away- const warnings.
-
Tom Lane authored
We have once or twice seen failures suggesting that control didn't get to the exception block before the timeout elapsed, which is unlikely but not impossible in a parallel regression test (with a dozen other backends competing for cycles). This change doesn't completely prevent the problem of course, but it should reduce the probability enough that we don't see it anymore. Per buildfarm results.
-
Peter Eisentraut authored
symlink is kept for now for compatibility. To call single-user mode, use postgres --single.
-
- 16 Jun, 2006 20 commits
-
-
Tom Lane authored
-
Tom Lane authored
SQLSTATEs, fix some documentation problems.
-
Tom Lane authored
leading zeroes from the SQLSTATE codes. They're strings, people, not numbers.
-
Andrew Dunstan authored
docs for DROP ... IF EXISTS for the following cases: language, tablespace, trigger, rule, opclass, function, aggregate. operator, and cast.
-
Bruce Momjian authored
> o Allow PL/python to composite types and result sets > once buggy assert-enabled versions of python can be detected > > http://archives.postgresql.org/pgsql-patches/2006-04/msg00087.php
-
Bruce Momjian authored
> > * Fix CREATE CAST on DOMAINs > > http://archives.postgresql.org/pgsql-hackers/2006-05/msg00072.php
-
Bruce Momjian authored
Backpatch documentation addition to 8.1.X.
-
-
Andrew Dunstan authored
DROP ... IF EXISTS for the following cases: language, tablespace, trigger, rule, opclass, function, aggregate. operator, and cast.
-
-
-
Bruce Momjian authored
> * Consider shrinking expired tuples to just their headers > http://archives.postgresql.org/pgsql-patches/2006-03/msg00142.php
-
Tom Lane authored
by creating a reference-count mechanism, similar to what we did a long time ago for catcache entries. The back branches have an ugly solution involving lots of extra copies, but this way is more efficient. Reference counting is only applied to tupdescs that are actually in caches --- there seems no need to use it for tupdescs that are generated in the executor, since they'll go away during plan shutdown by virtue of being in the per-query memory context. Neil Conway and Tom Lane
-
Bruce Momjian authored
* Auto-fill the free space map by scanning the buffer cache or by checking pages written by the background writer
-
-
Bruce Momjian authored
> * Add support for public SYNONYMS > > http://archives.postgresql.org/pgsql-hackers/2006-03/msg00519.php
-
-
Bruce Momjian authored
> o Fix problems with RETURN NEXT on tables with > dropped/added columns after function creation > > http://archives.postgresql.org/pgsql-patches/2006-02/msg00165.php
-
Bruce Momjian authored
> * Allow protocol-level BIND parameter values to be logged > > http://archives.postgresql.org/pgsql-hackers/2006-02/msg00165.php
-
Bruce Momjian authored
-