Commit Graph

337 Commits (54fc9dca5b10e82cb85c7cd44ebe1eb0f28f795b)

Author SHA1 Message Date
Andrew Dunstan bd2cb9aaa5 Implement a chunking protocol for writes to the syslogger pipe, with messages 19 years ago
Tom Lane 6d6d14b6d5 Redefine IsTransactionState() to only return true for TRANS_INPROGRESS state, 19 years ago
Tom Lane 79ca7ffeb6 A few fixups in error handling: mark pg_re_throw() as noreturn for gcc, 19 years ago
Tom Lane 88f1fd2989 Fix oversight in PG_RE_THROW processing: it's entirely possible that there 19 years ago
Tom Lane 61c3e5b248 Make log_min_error_statement put LOG level at the same priority as 19 years ago
Magnus Hagander b8188e1e64 Fix for early log messages during postmaster startup getting lost when 19 years ago
Tom Lane 67f06327f9 Don't use 'int' where you mean 'bool'. 19 years ago
Bruce Momjian 09c1baabc3 Move code that places LOG error level between ERROR and PANIC into new 19 years ago
Bruce Momjian 29dccf5fe0 Update CVS HEAD for 2007 copyright. Back branches are typically not 19 years ago
Peter Eisentraut a75ccd1def Fix some translator comments so that xgettext finds them and pgindent does 19 years ago
Tom Lane 5fc2d7e451 Suppress timezone (%Z) part of timestamp display when running on Windows, 19 years ago
Tom Lane e82d9e6283 Adjust elog.c so that elog(FATAL) exits (including cases where ERROR is 19 years ago
Tom Lane 8e4fe3ba1e Do a CHECK_FOR_INTERRUPTS after emitting a message of less than ERROR 19 years ago
Tom Lane c92f7e258e Replace strncpy with strlcpy in selected places that seem possibly relevant 19 years ago
Bruce Momjian e0522505bd Remove 576 references of include files that were not needed. 19 years ago
Bruce Momjian a22d76d96a Allow include files to compile own their own. 19 years ago
Bruce Momjian fa601357fb Sort reference of include files, "A" - "F". 19 years ago
Tom Lane 27c3e3de09 Remove redundant gettimeofday() calls to the extent practical without 20 years ago
Bruce Momjian f2f5b05655 Update copyright for 2006. Update scripts. 20 years ago
Bruce Momjian 436a2956d8 Re-run pgindent, fixing a problem where comment lines after a blank 20 years ago
Tom Lane 48052de722 Repair an error introduced by log_line_prefix patch: it is not acceptable 20 years ago
Alvaro Herrera 902377c465 Rename the members of CommandDest enum so they don't collide with other uses of 20 years ago
Bruce Momjian 1dc3498251 Standard pgindent run for 8.1. 20 years ago
Tom Lane abd3f43b4c Fix syslog bug: if any messages are emitted to write_syslog before 20 years ago
Tom Lane 4aa0d70fb7 Pass a strdup'd ident string to openlog(), to ensure that reallocation 20 years ago
Bruce Momjian ed63689b43 This patch fixes the event type used to log output from the 20 years ago
Tom Lane 111e29ef5e Adjust comment about %t and %s to cover %m as well. Some trivial 21 years ago
Neil Conway d46bc444ac Implement two new special variables in PL/PgSQL: SQLSTATE and SQLERRM. 21 years ago
Bruce Momjian 6c2ba14d8d This patch against 8.0.0beta1 source adds log_line_prefix options for 21 years ago
Tom Lane a214e9c996 Fix problem with infinite recursion between write_syslogger_file and 21 years ago
Bruce Momjian 76fa5e6e18 Cause Win32 to output to the event log rather than stderr by default. 21 years ago
Bruce Momjian 0542b1e2fe Use _() macro consistently rather than gettext(). Add translation 21 years ago
PostgreSQL Daemon 2ff501590b Tag appropriate files for rc3 21 years ago
Bruce Momjian 67608a393b Make getpid() use %d consistently for printing. 21 years ago
Bruce Momjian abc1d28ba7 Suppress timezone output on log_line_prefix %t on Win32, because it is 21 years ago
Bruce Momjian a5d7ba773d Adjust comments previously moved to column 1 by pgident. 21 years ago
Neil Conway a3c53c834f This patch from Alvaro Herrera adds transaction ID to the list of 21 years ago
Tom Lane 1a86e6eabf On further consideration, there's another problem here: the existing 21 years ago
Tom Lane cefb4b141b Tweak elog.c's logic for promoting errors into more severe errors. 21 years ago
Bruce Momjian b6b71b85bc Pgindent run for 8.0. 21 years ago
Bruce Momjian da9a8649d8 Update copyright to 2004. 21 years ago
Tom Lane bdf8ef6925 Create a built-in log rotation program, so that we no longer have to 21 years ago
Tom Lane ecb68138e9 Add LOG_NOWAIT flag to openlog() call, per my note of 2004-06-24. 21 years ago
Tom Lane a393fbf937 Restructure error handling as recently discussed. It is now really 21 years ago
Tom Lane 98c120a203 Revert ill-conceived patch that made elog(FATAL) the same as elog(ERROR) 21 years ago
Tom Lane b15f9b08ef Replace direct fprintf(stderr) calls by write_stderr(), and cause this 22 years ago
Tom Lane 5ca40c5d31 Add comment about rationale for continuing to use C library functions 22 years ago
Tom Lane 921d749bd4 Adjust our timezone library to use pg_time_t (typedef'd as int64) in 22 years ago
Tom Lane 076a055acf Separate out bgwriter code into a logically separate module, rather 22 years ago
Tom Lane 2ac8c96ecb Make sure elog behaves sanely if invoked before GUC initializes. 22 years ago