Bruce Momjian
ffef9a9de4
Clarify PGPASSWORD usage:
...
! authentication. Use of this environment variable is not
! recommended for security reasons (some operating systems
! allow non-root users to see process environment variables via
! <application>ps</>); instead consider using the
! <filename>~/.pgpass</> file (see <xref linkend="libpq-pgpass">).
2005-02-26 18:39:04 +00:00
Bruce Momjian
0060023c3d
State PGPASSWORD is "not recommended" rather than "depricated".
2005-02-26 14:21:40 +00:00
Bruce Momjian
29e58330a6
Change Win32 client configuration files from *.txt to *.conf.
2005-01-14 00:25:56 +00:00
Tom Lane
b5adf46cbd
Some more small improvements in response to 7.4 interactive docs comments.
2005-01-08 22:13:38 +00:00
Tom Lane
41ca756386
Spell APPDATA as %APPDATA%, per recommendation from Magnus.
2005-01-06 21:20:44 +00:00
Tom Lane
a3f98d5795
Adjust lookup of client-side profile files (.pgpass and so on) as per
...
discussion on pgsql-hackers-win32 list. Documentation still needs to
be tweaked --- I'm not sure how to refer to the APPDATA folder in
user documentation.
2005-01-06 18:29:11 +00:00
Tom Lane
d9236a69fc
Make libpq default to localhost connections on machines without Unix-domain
...
sockets, rather than failing as it formerly did. Revert the
thereby-obsoleted patch to make psql supply the localhost default.
2004-12-28 23:17:54 +00:00
Tom Lane
797c2b2501
More minor updates and copy-editing.
2004-12-28 22:47:15 +00:00
Tom Lane
b5ae0d69da
Mark the TimeZone parameter as GUC_REPORT, so that JDBC can find out
...
when it changes. Per request from Kris Jurka.
2004-12-20 18:15:07 +00:00
Peter Eisentraut
5ec30faee6
Spell checker run
2004-12-13 18:05:10 +00:00
Bruce Momjian
8408f65252
Rework libpq threaded SIGPIPE handling to avoid interference with
...
calling applications. This is done by blocking sigpipe in the libpq
thread and using sigpending/sigwait to possibily discard any sigpipe we
generated.
2004-12-02 15:32:54 +00:00
Peter Eisentraut
a420b76ca5
Correctly name the Windows operating systems
2004-11-27 21:56:05 +00:00
Neil Conway
ec7a6bd9a2
Replace "--" and "---" with "—" as appropriate, for better-looking
...
output.
2004-11-15 06:32:15 +00:00
Tom Lane
44e8a968e3
Invent a new, more thread-safe version of PQrequestCancel, called PQcancel.
...
Use this new function in psql. Implement query cancellation in psql for
Windows. Code by Magnus Hagander, documentation and minor editorialization
by Tom Lane.
2004-10-30 23:11:27 +00:00
Tom Lane
9d9cfb1ad7
Add PQprepare/PQsendPrepared functions to libpq to support preparing
...
statements without necessarily specifying the datatypes of their parameters.
Abhijit Menon-Sen with some help from Tom Lane.
2004-10-18 22:00:42 +00:00
Tom Lane
8bbfa16624
Don't assume PQdb() will return a valid result from a failed connection.
2004-10-01 17:34:19 +00:00
Tom Lane
7ac258c2f3
Fix multiple breakages in our support for SSL certificates.
2004-09-26 22:51:49 +00:00
Bruce Momjian
fa6fa8e549
This patch attempts to outline the supported level of SSL within libpq.
...
I haven't mentioned any of
~/.postgresql/{root.crt,postgresql.crt,postresql.key} even though they
are checked for in the code, since they do not appear to be supported. I
base this on discussions in pgsql-hackers.
Dominic Mitchell
2004-09-23 13:31:09 +00:00
Bruce Momjian
040450beef
Use backslash in %USERPROFILE%\.pgpass.
2004-08-19 16:39:13 +00:00
Bruce Momjian
84f878f5cd
Don't use get_home_path so libpq doesn't pull path.c into the library.
2004-08-19 00:00:34 +00:00
Bruce Momjian
3f0fa93cfc
Chain on to SIGPIPE handler rather than just do action on default.
...
Always create thread-specific variable.
2004-08-17 16:54:47 +00:00
Tom Lane
e617fe729d
Mark server_encoding and integer_datetimes as GUC_REPORT, per previous
...
proposals by Oliver Jowett. Update documentation.
2004-08-16 02:12:29 +00:00
Tom Lane
f79fbb2bec
Add PQserverVersion() to libpq to provide more-convenient access to
...
the server version number. This commit also removes bogus DOS line
endings from libpqddll.def.
Greg Sabino Mullane
2004-08-11 18:06:01 +00:00
Bruce Momjian
cd8b0fc5f1
Change PGETC to PGSYSCONFDIR and PGLOCALE to PGLOCALEDIR, per Peter.
2004-06-08 13:49:23 +00:00
Bruce Momjian
6870843339
Add PGETC (for pg_service.conf) and PGLOCALE (for locale dir)
...
environment variable processing to libpq.
The patch also adds code to our client apps so we set the environment
variable directly based on our binary location, unless it is already
set. This will allow our applications to emit proper locale messages
that are generated in libpq.
2004-06-03 00:07:38 +00:00
Neil Conway
0cb27df5c6
Improve documentation for SQLSTATE error codes, per recent thread on
...
-patches.
2004-05-14 18:04:02 +00:00
Neil Conway
a3015829ee
Fix typo in libpq docs.
2004-04-24 22:58:40 +00:00
Neil Conway
f0c3a09ab3
Document that PQoidValue(), PQcmdTuples(), and PQoidStatus() now work
...
when the command that generated the PGresult was an EXECUTE of an
appropriate prepared statement.
2004-04-24 22:53:44 +00:00
Bruce Momjian
f5dd5bf297
Add mention to run thread test program if user is experiencing problems
...
with threaded applications.
2004-04-24 00:14:28 +00:00
Bruce Momjian
c310d28766
Remove TCL docs.
2004-04-20 01:11:49 +00:00
Bruce Momjian
6daf396879
Add thread locking to SSL and Kerberos connections.
...
I have removed the docs mentioning that SSL and Kerberos are not
thread-safe.
Manfred Spraul
2004-03-24 03:45:00 +00:00
Tom Lane
1c4da387ad
PQresult should be PGresult.
2004-03-23 23:37:17 +00:00
Tom Lane
f938c2b91b
Revise syntax-error reporting behavior to give pleasant results for
...
errors in internally-generated queries, such as those submitted by
plpgsql functions. Per recent discussions with Fabien Coelho.
2004-03-21 22:29:11 +00:00
Bruce Momjian
0f8c4bc4a2
Document the SSL and Kerberos are not thread-safe.
2004-03-11 02:39:10 +00:00
Neil Conway
e0707cbae9
The attached patch clarifies (or, rather, makes explicit) to readers how
...
to handle memory management for char pointers returned by libpq functions.
Original patch by Gavin Sherry, some tweaking and consistency improvements
by Neil Conway.
2004-01-26 22:13:21 +00:00
Bruce Momjian
0150dbdce5
Allow libpq to do thread-safe SIGPIPE handling. This allows it to
...
ignore SIGPIPE from send() in libpq, but terminate on any other SIGPIPE,
unless the user installs their own signal handler.
This is a minor fix because the only time you get SIGPIPE from libpq's
send() is when the backend dies.
2004-01-09 02:02:43 +00:00
Neil Conway
7fb5a9992c
This patch makes some SGML markup more consistent and makes a small
...
improvement to the SSL auth docs.
2003-12-13 23:59:07 +00:00
PostgreSQL Daemon
969685ad44
$Header: -> $PostgreSQL Changes ...
2003-11-29 19:52:15 +00:00
Peter Eisentraut
934c21344c
Documentation cleanup
2003-11-12 22:47:47 +00:00
Peter Eisentraut
8442a92e5a
Spell checking, consistent terminology.
2003-11-01 01:56:29 +00:00
Tom Lane
e5c2c97892
Add a listing of our SQLSTATE error codes to the documentation.
...
Link to it from some appropriate places.
2003-10-17 18:57:01 +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
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
f3ad615ce8
Fix a batch of speling misteaks identified by Peter's spell-checker tool.
2003-09-20 20:12:05 +00:00
Bruce Momjian
2a5b6a7c9b
This patch fixes a few missed GUC variables that were still upper case,
...
makes a few more small improvements to runtime.sgml, and makes some SGML
conventions more consistent.
Neil Conway
2003-09-11 21:42:20 +00:00
Peter Eisentraut
29a20145fd
Pass session_authorization to the client and make psql update its prompt
...
accordingly.
2003-09-03 22:05:09 +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
c326d8f4f2
Add/edit index entries.
2003-08-31 17:32:24 +00:00
Peter Eisentraut
c3664c0c00
Add macros for error result fields to libpq.
2003-08-24 18:36:38 +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