| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
from Sebastian Böck. The fix involves being more consistent about
when rangetable entries are copied or modified. Someday we really
need to fix this stuff to not scribble on its input data structures
in the first place...
|
| |
|
|
|
|
|
|
| |
This seems the cleanest way of fixing its lack of a shutdown callback,
which was preventing it from working correctly in a query that didn't
run it to completion. Per bug report from Szima GÄbor.
|
|
|
|
| |
is restored on error exit.
|
|
|
|
|
|
|
|
| |
must be stale. Tweak example startup scripts to not use pg_ctl but launch
the postmaster directly, thereby ensuring that only the postmaster's direct
parent shell will be a postgres-owned process. In combination these should
fix the longstanding problem of the postmaster sometimes refusing to start
during reboot because it thinks the old lockfile is not stale.
|
| |
|
| |
|
|
|
|
|
|
| |
of locking used by REINDEX. REINDEX needs only ShareLock on the parent
table, same as CREATE INDEX, plus an exclusive lock on the specific index
being processed.
|
|
|
|
|
|
| |
to unreserved keyword, use ereport not elog, assign a separate error code
for 'could not obtain lock' so that applications will be able to detect
that case cleanly.
|
|
|
|
| |
if the user has defined LDFLAGS themselves.
|
|
|
|
|
|
| |
now are supposed to take some kind of lock on an index whenever you
are going to access the index contents, rather than relying only on a
lock on the parent table.
|
| |
|
| |
|
|
|
|
|
| |
as CREATE INDEX did, and can be fixed the same way, for another small
improvement in usability and reduction in grammar size.
|
|
|
|
|
|
|
|
| |
a separate production func_expr. This allows us to accept all these
variants in the backwards-compatible syntax for creating a functional
index; which beats documenting exactly which things work and which don't.
Interestingly, it also seems to make the generated state machine a little
bit smaller.
|
|
|
|
| |
shared memory size.
|
| |
|
|
|
|
|
| |
tables in shared memory. This ensures that overflow of the lock table
creates no long-lasting problems. Per discussion with Merlin Moncure.
|
|
|
|
|
|
| |
This also adds debug build support to src/bin/psql/win32.mak.
Dave Page
|
|
|
|
| |
structures plus pointers used by the structure.
|
| |
|
|
|
|
| |
This greatly helps threaded libpq programs.
|
|
|
|
|
|
| |
+ #if defined(_MSC_VER) || defined(__BORLANDC__)
+ #define WIN32_CLIENT_ONLY
+ #endif
|
| |
|
| |
|
| |
|
|
|
|
| |
rename prototype conflict.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
from Peter.
|
|
|
|
| |
Removed Oracle transaction syntax to fix shift/reduce error.
|
|
|
|
| |
Jurka.
|
|
|
|
|
|
|
|
|
|
|
| |
(1) Replace while loop with the new forboth() construct in
parser/analyze.c
(2) Replace lcons() with lappend() in SearchCatCacheList(). Since these
now have the same performance, there is no reason to prefer lcons() in
this case, and using lappend() leads to cleaner code.
(3) Improve the name of the second parameter to for_each_cell()
|
|
|
|
|
| |
from another pointer type. Per C89, this is unnecessary, and it is common
practice throughout the rest of the tree anyway.
|
|
|
|
|
|
|
|
| |
and hopefully improve code clarity while at it. One intentional
semantics change: a backslashed space will not be treated as removable
trailing whitespace, as the prior coding would do. ISTM that if it
wouldn't be considered removable leading whitespace, it shouldn't be
stripped at the end either.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
build in mingw. The MSVC build already did this, but it was not linked
into the mingw one.
This is not the same as the versioninfo patch that's in the queue.
Please apply this one before beta-3 if at all possible.
Magnus Hagander
|
| |
|
|
|
|
|
| |
it really hadn't, due to double output of previous command's response.
Fix prevents recursive entry to libpq routines. Found by Jan Wieck.
|
| |
|
|
|
|
|
|
|
| |
setting is valid must ignore that state and permit the assignment anyway
when source is PGC_S_OVERRIDE. Otherwise they may disallow a rollback
at transaction abort, which is The Wrong Thing. Per example from
Michael Fuhr 12-Sep-04.
|
|
|
|
|
|
| |
modify how unaligned memory accesses are dealt with. Document that this
is really what is going on, and merge the NOFIXADE and NOPRINTADE code
paths.
|
| |
|
| |
|
|
|
|
| |
variant file to cover OS X 10.3's bizarre minus-zero behavior.
|
| |
|
|
|
|
|
| |
formerly used in execMain. Since that is no longer the case, this patch
renames ExecProcAppend() to ExecAppend() for the sake of consistency.
|