Bruce Momjian
735614c1cf
Stamp 7.4.1.
...
Update 7.4.1 FAQ's to current.
2003-12-13 16:57:36 +00:00
Joe Conway
10b84be9b3
Make PQescapeBytea and byteaout consistent with each other, and
...
octal escape all octets outside the range 0x20 to 0x7e. This fixes
the problem pointed out by Sergey Yatskevich here:
http://archives.postgresql.org/pgsql-bugs/2003-11/msg00140.php
2003-11-30 20:53:43 +00:00
Bruce Momjian
1adcaadc2f
Backpatch Borland thread.c fix to 7.4.X.
2003-11-30 06:02:40 +00:00
Peter Eisentraut
d8ada3c7cb
Cast field-length variables used in printf to int, because sometimes
...
they might be of a wider type.
2003-11-26 15:54:59 +00:00
Tom Lane
bcf4d35699
Minor cleanup of PQunescapeBytea(). Avoid unportable assumptions about
...
behavior of malloc and realloc when request size is 0. Fix escape
sequence recognizer so that only valid 3-digit octal sequences are
treated as escape sequences ... isdigit() is not a correct test.
2003-10-31 17:43:10 +00:00
Peter Eisentraut
002e7b3789
Translation updates
2003-10-25 18:03:21 +00:00
Bruce Momjian
6db0a6b035
Remove socket credentials defines not referenced.
2003-10-25 03:48:47 +00:00
Tom Lane
9dfdbef345
Adjust libpq to avoid deadlock when both client and server want to send
...
data, and both have filled the transmission buffers. One scenario where
this can happen was illustrated here:
http://archives.postgresql.org/pgsql-hackers/2003-04/msg00979.php
2003-10-19 21:36:41 +00:00
Tom Lane
f2f7107024
Must free the pgParameterStatus chain in freePGconn(). My fault,
...
well spotted by Neil Conway.
2003-10-18 05:02:06 +00:00
Peter Eisentraut
578774d5f5
Translation update
2003-10-15 09:45:34 +00:00
Peter Eisentraut
037468eff2
New translation
2003-10-12 19:16:36 +00:00
Peter Eisentraut
108f371769
Translation updates
2003-10-10 08:01:44 +00:00
Peter Eisentraut
f98cbb76a0
Translation updates
2003-10-06 17:37:39 +00:00
Peter Eisentraut
a0ab31dcc6
New Slovene translations
2003-10-06 16:31:16 +00:00
Peter Eisentraut
5e3aaf5402
Translation updates
2003-10-06 06:20:11 +00:00
Peter Eisentraut
eceff4cc55
Translation updates
2003-10-05 21:52:37 +00:00
Tom Lane
fa09ee6026
Document the always-true-but-previously-undocumented fact that PQfnumber()
...
will downcase the supplied field name unless it is double-quoted. Also,
upgrade the routine's handling of double quotes to match the backend,
in particular support doubled double quotes within quoted identifiers.
Per pgsql-interfaces discussion a couple weeks ago.
2003-10-04 21:05:21 +00:00
Peter Eisentraut
0a14ffe5b5
Translation updates
2003-10-04 18:13:16 +00:00
Peter Eisentraut
75e76e1cf5
Translation updates
2003-10-04 01:07:05 +00:00
Peter Eisentraut
beb935148a
New translation
2003-10-03 22:39:34 +00:00
Tom Lane
251033186f
Cause PQescapeString to stop processing at a null character, rather
...
than generating an invalid output string. Per observation and patch
from Igor Shevchenko. Further code cleanup and documentation by
Tom Lane.
2003-10-03 18:26:14 +00:00
Tom Lane
b4966453f6
Do not return from PQrequestCancel until postmaster has finished
...
processing the request; this ensures that the request won't be taken
to cancel a subsequently-issued query. Race condition originally
noted by Oliver Jowett in the context of JDBC, but libpq has it too.
2003-10-02 19:52:44 +00:00
Tom Lane
bf2f5d9463
Don't use 0 as a spelling of NULL.
2003-10-02 14:47:44 +00:00
Peter Eisentraut
55fbc98b3f
Adjust the new Norwegian translation for some of the easier message
...
changes between 7.3 and 7.4, for example quoting and function names.
2003-09-29 16:41:33 +00:00
Peter Eisentraut
f4d5d620f2
Make message fit guidelines.
2003-09-29 16:38:04 +00:00
Peter Eisentraut
a776bd9b69
New Norwegian translation by Trond Endrestøl, actually made for 7.3, but
...
this should help people get started in 7.4 as well.
2003-09-29 10:57:06 +00:00
Bruce Momjian
227dd9b427
Rename thread compile flag. Move thread test program to tools/thread,
...
and improve tests.
2003-09-27 15:32:48 +00:00
Peter Eisentraut
278a13fe47
Translation updates
2003-09-22 00:27:01 +00:00
Peter Eisentraut
6f57d63cb4
Message wording improvements
2003-09-22 00:23:35 +00:00
Peter Eisentraut
7ce5f25b5b
Translation updates
2003-09-15 20:42:40 +00:00
Bruce Momjian
4b407f6c3c
Changes for MinGW/WIN32:
...
o allow configure to see include/port/win32 include files
o add matching Win32 accept() prototype
o allow pg_id to compile with native Win32 API
o fix invalide mbvalidate() function calls (existing bug)
o allow /scripts to compile with native Win32 API
o add win32.c to Win32 compiles (already in *.mak files)
2003-09-07 03:43:57 +00:00
Bruce Momjian
2dc9437160
Enable Win32 to compile libpq again, and enable SSL compiles on that
...
platform.
Andreas Pflug
2003-09-05 02:08:36 +00:00
Peter Eisentraut
5f65345a57
Do not pass server_encoding to the client.
...
libpq, talking to an old server, should assume SQL_ASCII as the default
client encoding, because that is what the server will actually use (not
the server encoding).
2003-09-01 23:04:49 +00:00
Peter Eisentraut
f2c2943aae
Share PG_DIAG_* macros between client and server and use them internally.
2003-08-27 00:33:34 +00:00
Peter Eisentraut
903fe8fc6f
Translation updates
2003-08-24 21:18:53 +00:00
Peter Eisentraut
c3664c0c00
Add macros for error result fields to libpq.
2003-08-24 18:36:38 +00:00
Peter Eisentraut
588970c399
Correct uninstall target.
2003-08-23 04:21:59 +00:00
Peter Eisentraut
ef38ca9b3d
Translation updates
2003-08-20 21:10:01 +00:00
Tom Lane
c01641f8ae
libpq failed to cope with COPY FROM STDIN if the command was issued
...
via extended query protocol, because it sends Sync right after Execute
without realizing that the command to be executed is COPY. There seems
to be no reasonable way for it to realize that, either, so the best fix
seems to be to make the backend ignore Sync during copy-in mode. Bit of
a wart on the protocol, but little alternative. Also, libpq must send
another Sync after terminating the COPY, if the command was issued via
Execute.
2003-08-13 18:56:21 +00:00
Tom Lane
0be731ad44
Add PQexecPrepared() and PQsendQueryPrepared() functions, to allow
...
libpq users to perform Bind/Execute of previously prepared statements.
Per yesterday's discussion, this offers enough performance improvement
to justify bending the 'no new features during beta' rule.
2003-08-13 16:29:03 +00:00
Tom Lane
90ade5b775
Cope with NoData message from backend. Needed for case where
...
PQexecParams is used with a statement that doesn't return data.
2003-08-12 21:34:44 +00:00
Peter Eisentraut
7078441af0
Translation updates
2003-08-11 15:19:58 +00:00
Bruce Momjian
46785776c4
Another pgindent run with updated typedefs.
2003-08-08 21:42:59 +00:00
Bruce Momjian
6a991845a3
sprompt not needed in libpq.
2003-08-08 16:32:45 +00:00
Peter Eisentraut
0bf70870db
Translation updates by Dennis Björklund
2003-08-08 11:03:29 +00:00
Bruce Momjian
63c4d156e0
Move simple_prompt()/sprompt.c into /port.
2003-08-08 04:52:22 +00:00
Bruce Momjian
522b4937b3
Makefile cleanup.
2003-08-08 03:22:24 +00:00
Bruce Momjian
48af71423d
Cleanup.
2003-08-08 03:18:40 +00:00
Bruce Momjian
86b07104dd
Makefile cleanup.
2003-08-08 03:03:54 +00:00
Bruce Momjian
ba0d38fd89
More thread.c cleanup.
2003-08-08 03:00:31 +00:00