- 02 Dec, 2004 2 commits
-
-
Tom Lane authored
handling in SIGPIPE processing; avoid unnecessary pollution of application link-symbol namespace; spell 'pointer to function' in the conventional way.
-
Bruce Momjian authored
calling applications. This is done by blocking sigpipe in the libpq thread and using sigpending/sigwait to possibily discard any sigpipe we generated.
-
- 20 Nov, 2004 2 commits
- 16 Oct, 2004 1 commit
-
-
Bruce Momjian authored
Magnus Hagander
-
- 28 Sep, 2004 1 commit
-
-
Bruce Momjian authored
structures plus pointers used by the structure.
-
- 27 Sep, 2004 1 commit
-
-
Bruce Momjian authored
This greatly helps threaded libpq programs.
-
- 26 Sep, 2004 1 commit
-
-
Tom Lane authored
-
- 23 Sep, 2004 2 commits
-
-
Tom Lane authored
in open_client_SSL, surely we should do it everywhere. Also make message formatting conform to style guide.
-
Bruce Momjian authored
stands a chance of looking it up. "Unrecognised error" is always disheartening. :-) Dominic Mitchell
-
- 29 Aug, 2004 2 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 17 Aug, 2004 2 commits
-
-
Bruce Momjian authored
Always create thread-specific variable.
-
Tom Lane authored
global variables are problematic on this platform. Simplest solution seems to be to initialize pthread key variable to 0. Also, rename this variable and check_sigpipe_handler to something involving "pq" to avoid gratuitous pollution of application namespace.
-
- 12 Jul, 2004 3 commits
-
-
Bruce Momjian authored
> user must initialize the lock. The problem are concurrent "first" users > - the pthread_mutex_t initialization must be synchronized. > The current implementation is broken, the attached patches fixes that: > mutex_initlock is a spinlock. If the pthread_mutex_t mutex is not > initialized, then the spinlock is acquired, if the pthread_mutex_t is > initialized if it's not yet initialized and then the spinlock is dropped. Manfred Spraul
-
Bruce Momjian authored
-
Bruce Momjian authored
user must initialize the lock. The problem are concurrent "first" users - the pthread_mutex_t initialization must be synchronized. The current implementation is broken, the attached patches fixes that: mutex_initlock is a spinlock. If the pthread_mutex_t mutex is not initialized, then the spinlock is acquired, if the pthread_mutex_t is initialized if it's not yet initialized and then the spinlock is dropped. Manfred Spraul
-
- 19 Jun, 2004 1 commit
-
-
Bruce Momjian authored
Andreas Pflug
-
- 03 Jun, 2004 1 commit
-
-
Bruce Momjian authored
be interpreted just the other way round in initialize_SSL. Andreas Pflug
-
- 07 May, 2004 1 commit
-
-
Tom Lane authored
conversion of basic ASCII letters. Remove all uses of strcasecmp and strncasecmp in favor of new functions pg_strcasecmp and pg_strncasecmp; remove most but not all direct uses of toupper and tolower in favor of pg_toupper and pg_tolower. These functions use the same notions of case folding already developed for identifier case conversion. I left the straight locale-based folding in place for situations where we are just manipulating user data and not trying to match it to built-in strings --- for example, the SQL upper() function is still locale dependent. Perhaps this will prove not to be what's wanted, but at the moment we can initdb and pass regression tests in Turkish locale.
-
- 27 Mar, 2004 1 commit
-
-
Tom Lane authored
-
- 24 Mar, 2004 1 commit
-
-
Bruce Momjian authored
I have removed the docs mentioning that SSL and Kerberos are not thread-safe. Manfred Spraul
-
- 10 Feb, 2004 1 commit
-
-
Bruce Momjian authored
-
- 09 Jan, 2004 2 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
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.
-
- 18 Dec, 2003 1 commit
-
-
Tom Lane authored
Per Neil Conway.
-
- 29 Nov, 2003 1 commit
-
-
PostgreSQL Daemon authored
$Header: -> $PostgreSQL Changes ...
-
- 29 Sep, 2003 1 commit
-
-
Peter Eisentraut authored
-
- 27 Sep, 2003 1 commit
-
-
Bruce Momjian authored
and improve tests.
-
- 05 Sep, 2003 1 commit
-
-
Bruce Momjian authored
platform. Andreas Pflug
-
- 04 Aug, 2003 4 commits
-
-
Tom Lane authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 14 Jun, 2003 2 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
Lee Kindness
-
- 08 Jun, 2003 1 commit
-
-
Tom Lane authored
protocol 3, then falls back to 2 if postmaster rejects the startup packet with an old-format error message. A side benefit of the rewrite is that SSL-encrypted connections can now be made without blocking. (I think, anyway, but do not have a good way to test.)
-
- 10 Apr, 2003 1 commit
-
-
Tom Lane authored
-
- 03 Feb, 2003 1 commit
-
-
Tom Lane authored
Curious that gcc doesn't complain about unreferenced static variables.
-
- 08 Jan, 2003 1 commit
-
-
Bruce Momjian authored
believe I didn't notice this before -- once 64k was sent to/from the server the client would crash. Basicly, in 7.3 the server SSL code set the initial state to "about to renegotiate" without actually starting the renegotiation. In addition, the server and client didn't properly handle the SSL_ERROR_WANT_(READ|WRITE) error. This is fixed in the second patch. Nathan Mueller
-