- Aug 04, 2004
-
-
Tom Lane authored
-
- Jul 31, 2004
-
-
Tom Lane authored
possible to trap an error inside a function rather than letting it propagate out to PostgresMain. You still have to use AbortCurrentTransaction to clean up, but at least the error handling itself will cooperate.
-
- Jul 29, 2004
-
-
Tom Lane authored
followed by seeing EOF from client. If we want a safe session-kill capability we will need to write one, not break our error handling mechanism.
-
- Jun 24, 2004
-
-
Tom Lane authored
routine to do something appropriate on Win32. Also, add a security check on Win32 that parallels the can't-run-as-root check on Unix. Magnus Hagander
-
- Jun 21, 2004
-
-
Tom Lane authored
instead of src/timezone for timestamping log entries.
-
- Jun 03, 2004
-
-
Tom Lane authored
place of time_t, as per prior discussion. The behavior does not change on machines without a 64-bit-int type, but on machines with one, which is most, we are rid of the bizarre boundary behavior at the edges of the 32-bit-time_t range (1901 and 2038). The system will now treat times over the full supported timestamp range as being in your local time zone. It may seem a little bizarre to consider that times in 4000 BC are PST or EST, but this is surely at least as reasonable as propagating Gregorian calendar rules back that far. I did not modify the format of the zic timezone database files, which means that for the moment the system will not know about daylight-savings periods outside the range 1901-2038. Given the way the files are set up, it's not a simple decision like 'widen to 64 bits'; we have to actually think about the range of years that need to be supported. We should probably inquire what the plans of the upstream zic people are before making any decisions of our own.
-
- May 30, 2004
-
-
Tom Lane authored
than being random pieces of other files. Give bgwriter responsibility for all checkpoint activity (other than a post-recovery checkpoint); so this child process absorbs the functionality of the former transient checkpoint and shutdown subprocesses. While at it, create an actual include file for postmaster.c, which for some reason never had its own file before.
-
- May 28, 2004
-
-
Tom Lane authored
-
- May 21, 2004
-
-
Tom Lane authored
and should do now that we control our own destiny for timezone handling, but this commit gets the bulk of the picayune diffs in place. Magnus Hagander and Tom Lane.
-
- May 07, 2004
-
-
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.
-
- Apr 22, 2004
-
-
Bruce Momjian authored
report socket errors. Magnus Hagander
-
- Apr 19, 2004
-
-
Bruce Momjian authored
* removed a few redundant defines * get_user_name safe under win32 * rationalized pipe read EOF for win32 (UPDATED PATCH USED) * changed all backend instances of sleep() to pg_usleep - except for the SLEEP_ON_ASSERT in assert.c, as it would exceed a 32-bit long [Note to patcher: If a SLEEP_ON_ASSERT of 2000 seconds is acceptable, please replace with pg_usleep(2000000000L)] I added a comment to that part of the code: /* * It would be nice to use pg_usleep() here, but only does 2000 sec * or 33 minutes, which seems too short. */ sleep(1000000); Claudio Natoli
-
- Apr 16, 2004
-
-
Bruce Momjian authored
-
- Apr 11, 2004
-
-
Bruce Momjian authored
calling proc_exit() directly. This should make SIGTERM more reliable.
-
- Apr 05, 2004
-
-
Bruce Momjian authored
variable to control logoutput location on Unix and Win32. Magnus Hagander
-
- Mar 22, 2004
-
-
Tom Lane authored
followup to complaint from Korean User's Group.
-
- Mar 21, 2004
-
-
Tom Lane authored
errors in internally-generated queries, such as those submitted by plpgsql functions. Per recent discussions with Fabien Coelho.
-
- Mar 19, 2004
-
-
Tom Lane authored
of fighting it, avoid hard-wired (and wrong) assumption about max length of prefix, cause %l to actually work as documented, don't compute data we may not need.
-
- Mar 15, 2004
-
-
Bruce Momjian authored
Functionality superceeded by log_line_prefix. Andrew Dunstan
-
- Mar 09, 2004
-
-
Bruce Momjian authored
#log_line_prefix = '' # e.g. '<%u%%%d> ' # %u=user name %d=database name # %r=remote host and port # %p=PID %t=timestamp %i=command tag # %c=session id %l=session line number # %s=session start timestamp # %x=stop here in non-session processes # %%='%' Andrew Dunstan
-
- Nov 29, 2003
-
-
PostgreSQL Daemon authored
$Header: -> $PostgreSQL Changes ...
-
- Oct 17, 2003
-
-
Tom Lane authored
-
- Oct 08, 2003
-
-
Bruce Momjian authored
Change log line to be "duration: ms query:" Indent multi-line queries with a tab in the server logs.
-
- Sep 25, 2003
-
-
Peter Eisentraut authored
terms, add some clarifications, fix some untranslatable attempts at dynamic message building.
-
- Sep 03, 2003
-
-
Tom Lane authored
-
- Aug 27, 2003
-
-
Peter Eisentraut authored
-
- Aug 26, 2003
-
-
Tom Lane authored
lumping them into ERRCODE_UNDEFINED_OBJECT/ERRCODE_DUPLICATE_OBJECT. This seems reasonable since 'object' was meant to refer to 'object in the database' and a file is outside the database. Per request from Dave Cramer.
-
- Aug 08, 2003
-
-
Bruce Momjian authored
-
- Aug 04, 2003
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Tom Lane authored
that they aren't part of error processing is clearly faulty.
-
- Jul 27, 2003
-
-
Tom Lane authored
-
- Jul 22, 2003
-
-
Tom Lane authored
Along the way, fix some logic problems in pgstat_initstats, notably the bogus assumption that malloc returns zeroed memory.
-
- Jul 19, 2003
-
-
Tom Lane authored
-
- Jun 30, 2003
-
-
Tom Lane authored
reports get put into the postmaster log. Options are TERSE, DEFAULT, VERBOSE, with the same behavior as implemented on the client side in libpq.
-
- May 28, 2003
-
-
Tom Lane authored
in initdb will result in exit(1), allowing the initdb script to realize that there's something wrong.
-
Tom Lane authored
of order; the 'server log' output is actually client output in these scenarios and we ought to treat elevels the same way as in the client case. This allows initdb to not send backend stderr to /dev/null anymore, which makes it much more likely that people will notice problems during initdb.
-
- Apr 24, 2003
-
-
Tom Lane authored
rewritten and the protocol is changed, but most elog calls are still elog calls. Also, we need to contemplate mechanisms for controlling all this functionality --- eg, how much stuff should appear in the postmaster log? And what API should libpq expose for it?
-
- Apr 22, 2003
-
-
Tom Lane authored
have length words. COPY OUT reimplemented per new protocol: it doesn't need \. anymore, thank goodness. COPY BINARY to/from frontend works, at least as far as the backend is concerned --- libpq's PQgetline API is not up to snuff, and will have to be replaced with something that is null-safe. libpq uses message length words for performance improvement (no cycles wasted rescanning long messages), but not yet for error recovery.
-
- Mar 20, 2003
-
-
Bruce Momjian authored
Neil Conway
-