Bruce Momjian
24201b4bc6
Make libpgport be front-end only and make libpgport_srv be a backend
...
library that uses palloc, ereport, etc. This simplifies the makefiles
for client applications.
22 years ago
Neil Conway
3da69bd18c
Fix error in setseed() docs: "int32" is not a (SQL) type, but "integer" is.
22 years ago
Neil Conway
e374dfc119
Document that the semicolon following the final "END" in a function body
...
is optional.
22 years ago
Peter Eisentraut
8d5ff6bad1
Translation update
22 years ago
Peter Eisentraut
0654f0f669
Translation updates
22 years ago
Tom Lane
b3c4d69852
Add regression test inspired by Sebastian Böck.
22 years ago
Tom Lane
47aa95e951
Clean up handling of inherited-table update queries, per bug report
...
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...
22 years ago
Bruce Momjian
19241421f2
Update Farsi FAQ in ASCII.
22 years ago
Bruce Momjian
b3f2b19218
Update length from 75 to 79.
22 years ago
Tom Lane
125bf342fd
Convert pg_stat_get_backend_idset to use the existing SRF support.
...
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.
22 years ago
Tom Lane
b62aa83f0e
fmgr_security_definer had better do a PG_TRY to ensure the outer userid
...
is restored on error exit.
22 years ago
Tom Lane
c8196c87a7
Adjust postmaster to recognize that a lockfile containing its parent's PID
...
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.
22 years ago
Tom Lane
8bbfa16624
Don't assume PQdb() will return a valid result from a failed connection.
22 years ago
Tom Lane
bbd1e1cc68
Don't assume PQdb() will return a valid result from a failed connection.
22 years ago
Tom Lane
b1f8a37aa7
Fallout from changing index locking rules: we can reduce the strength
...
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.
22 years ago
Tom Lane
4c5e810fcd
Code review for NOWAIT patch: downgrade NOWAIT from fully reserved keyword
...
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.
22 years ago
Tom Lane
392b187a21
Remove DROPs from contrib object creation scripts, per Dave Page.
22 years ago
Neil Conway
b3f2f6ebec
Use 'override' when appending text to LDFLAGS, so the build doesn't break
...
if the user has defined LDFLAGS themselves.
22 years ago
Neil Conway
3738510c2c
Remove more traces of libpgtcl from the source tree. Also, make some
...
semi-related SGML cleanup. Original patch from ljb220@mindspring.com,
additional cleanup by Neil Conway.
22 years ago
Tom Lane
d2af5f8a3e
Adjust index locking rules as per my proposal of earlier today. You
...
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.
22 years ago
Tom Lane
d674884306
Add variant regression file to handle machines that convert -1e-700
...
to minus zero rather than zero; this includes at least Mac OS X 10.3
and Solaris 2.8.
22 years ago
Tom Lane
abc6441d60
Remove unnecessary use of index_open just to get the index name.
22 years ago
Tom Lane
bb6a78829e
isinf.c needs <float.h> on some platforms, per Darcy Buskermolen.
22 years ago
Neil Conway
1817706fba
Add a note suggesting that users should use the newer version of pg_dump
...
to perform upgrades, and cleanup some nearby text. Patch from Robert
Treat, editorializing by Neil Conway.
22 years ago
Neil Conway
3300707d01
Add more index entries for reference pages related to prepare queries.
...
From Alvaro Herrera, editorializing by Neil Conway.
22 years ago
Bruce Momjian
9781d0ed06
Update Brazilian FAQ.
...
Euler Taveira de Oliveira
22 years ago
Neil Conway
bd90ebdbce
Add an index entry for tablespaces. From Kris Jurka.
22 years ago
Tom Lane
f065957062
Come to think of it, functions in FROM have the same syntactic restriction
...
as CREATE INDEX did, and can be fixed the same way, for another small
improvement in usability and reduction in grammar size.
22 years ago
Tom Lane
912c27f9c2
Split out everything that looks like a function call from c_expr into
...
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.
22 years ago
Bruce Momjian
2cda0395bd
Add Farsi version of FAQ.
...
Mahmoud Taghizadeh
22 years ago
Tom Lane
0fb3152ea9
Minor adjustments to improve the accuracy of our computation of required
...
shared memory size.
22 years ago
Neil Conway
1bb38bb4e5
Minor documentation improvement.
22 years ago
Tom Lane
e7cb681618
Adjust obsolete comment about memory needs for lock table.
22 years ago
Tom Lane
3a246cc285
Arrange to preallocate all required space for the buffer and FSM hash
...
tables in shared memory. This ensures that overflow of the lock table
creates no long-lasting problems. Per discussion with Merlin Moncure.
22 years ago
Tom Lane
d9b68c8061
Code review for recent dbsize changes. Fix some thinkos, enforce coding
...
style and message style standards, improve documentation.
22 years ago
Bruce Momjian
70c8fcb287
An include path got missed out of the patch - see the attached fix.
...
This also adds debug build support to src/bin/psql/win32.mak.
Dave Page
22 years ago
Neil Conway
bb467563ec
Fix typo in docs.
22 years ago
Tom Lane
f7332e88b9
Remove duplicate PQclear(res) operations leading to double free() and
...
subsequent core dump. It looks like at one time DBLINK_RES_ERROR_AS_NOTICE
didn't include a PQclear, but now it does and so these other ones are
duplicate.
22 years ago
Bruce Momjian
1ad6878276
Revert patch that removed BUFSIZ usage. The memory has to hold the
...
structures plus pointers used by the structure.
22 years ago
Bruce Momjian
dd67707a64
Small WIN32_CLIENT_ONLY cleanup for new build patch.
22 years ago
Bruce Momjian
b534a5605f
Remove use of large BUFSIZ for buffers and use the proper struct sizes.
...
This greatly helps threaded libpq programs.
22 years ago
Bruce Momjian
e1c8b37afb
Add new macro as shorthand for MS VC and Borland C++:
...
+ #if defined(_MSC_VER) || defined(__BORLANDC__)
+ #define WIN32_CLIENT_ONLY
+ #endif
22 years ago
Bruce Momjian
e017051006
More MS VC and BCC psql compile cleanups.
22 years ago
Bruce Momjian
8efe926bfe
More Win32 cleanups for Dave Page.
22 years ago
Bruce Momjian
866627f84d
Make adjustment for MS VC and BCC compile of psql, from Dave Page.
22 years ago
Bruce Momjian
f6b896b17a
Improve MS VC builds for psql by handlling flex properly and prevent
...
rename prototype conflict.
22 years ago
Peter Eisentraut
a6cb7fd60a
Translation update
22 years ago
Peter Eisentraut
353b70aef3
Translation updates
22 years ago
Peter Eisentraut
9216b152e3
Translation update
22 years ago
Peter Eisentraut
ad6a6170e5
New translations
22 years ago