summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2004-09-10Clean up Cygwin test.Bruce Momjian
2004-09-09Move TIMEZONE_GLOBAL out into the proper place.Bruce Momjian
2004-09-09We don't use java in our compiles anymore so remove the filter test fromBruce Momjian
pgtest.
2004-09-09Added a call to gettext() to fix broken translated error messages.Dennis Bjorklund
2004-09-09Translation updatesDennis Bjorklund
2004-09-09Some source files was not scanned for translatable strings.Dennis Bjorklund
2004-09-09Translation updatesDennis Bjorklund
2004-09-09Fix Cygwin defines to be consistent.Bruce Momjian
2004-09-09Make TZNAME_GLOBAL for reference to tzname global variable.Bruce Momjian
2004-09-08Minor efficiency improvements in keeping track of trigger deferredTom Lane
status. In particular, I see no reason for deferredTriggerCheckState to make an explicit entry to note that a particular trigger has its default state --- that just clutters a list that should normally be empty or very short. I have plans to revise this module much more heavily, but this is a simple separable improvement.
2004-09-08Use _timezone global on Cygwin instead of timezone.Bruce Momjian
2004-09-07Fix a couple of small errors in trigger-list management, as per recentTom Lane
discussion.
2004-09-07Fix places where WaitForxxx can block, to eliminate failure to detectTom Lane
deadlock on Win32. Magnus Hagander
2004-09-06Fix error in Windows version of CHECK_FOR_INTERRUPTS macro.Tom Lane
This prevented statement_timeout from working. Magnus Hagander
2004-09-06Fix a number of places where brittle data structures or overly strongTom Lane
Asserts would lead to a server core dump if an error occurred while trying to abort a failed subtransaction (thereby leading to re-execution of whatever parts of AbortSubTransaction had already run). This of course does not prevent such an error from creating an infinite loop, but at least we don't make the situation worse. Responds to an open item on the subtransactions to-do list.
2004-09-06Guard against transaction control statements in SQL functions. ThisTom Lane
never worked, but it particularly doesn't work now.
2004-09-06Fix incorrect ordering of smgr cleanup relative to buffer pin cleanupTom Lane
during transaction abort. Add a regression test case to catch related mistakes in future. Alvaro Herrera and Tom Lane.
2004-09-06I can't see any good reason for DropRelFileNodeBuffers to be issuingTom Lane
FATAL when it detects a nonzero reference count. Reduce to ERROR.
2004-09-06Fixed segfault in Informix mode.Michael Meskes
2004-09-06Downgrade LOG messages to DEBUG1 for normal recycling of xlog, clog,Tom Lane
subtrans segments. Per Greg Mullane and Chris K-L.
2004-09-05Simplify IsXactIsoLevelSerializable test. A cycle saved is a cycleTom Lane
earned ...
2004-09-05On further consideration, there's another problem here: the existingTom Lane
elog() emulation code always calls errstart with ERROR error level. This means that a recursive error call triggered by elog would do MemoryContextReset(ErrorContext), whether or not this was actually appropriate. I'm surprised we haven't seen this in the field...
2004-09-05Tweak elog.c's logic for promoting errors into more severe errors.Tom Lane
Messages of less than ERROR severity should never be promoted (this fixes Gaetano Mendola's problem with a COMMERROR becoming a PANIC, and is obvious in hindsight anyway). Do all promotion in errstart not errfinish, to ensure that output decisions are made correctly; the former coding could suppress logging of promoted errors, which doesn't seem like a good idea. Eliminate some redundant code too.
2004-09-02Fix shared library linking operations to work properly on all (or atTom Lane
least more) combinations of HP-UX hardware, compiler, and linker. Shinji Teragaito and Tom Lane.
2004-09-02Apparently HPUX runs the IA64 in big-endian mode.Tom Lane
2004-09-02Yet another place where someone was being careless about the argumentsTom Lane
of <ctype.h> macros.
2004-09-02Spelling correction, per Greg Mullane.Tom Lane
2004-09-02Fix getrusage() emulation on Windows. Magnus HaganderTom Lane
2004-09-02Cope with recent HPUX versions providing isfinite() instead of finite().Tom Lane
2004-09-02Add s_lock support for HPUX on IA64, per Shinji Teragaito.Tom Lane
2004-09-02Remove useless variable.Tom Lane
2004-09-02Remove pg_config_paths.h from libpq *.mak builds so later MinGW buildsBruce Momjian
will succeed.
2004-09-02Back out timezone detection patch. Tom already applied it.Bruce Momjian
2004-09-02This patch attempts to fix the issue with localized timezones onBruce Momjian
Windows. Recap: When running on a localized windows version, the timezone name returned is also localized, and therefor does not match our lookup table. Solution: The registry contains both the name of the timezone in english and the localized name. The patch adds code to scan the registry for the localized name and gets the english name from that, and then rescans the table. I have tested this on a Swedish WinXP, and it works without problems. The registry layout is the same in Win2k, but I haven't specifically tested it. It's also the same on different languages but again only Swedish is tested. Magnus Hagander
2004-09-02Remove obsolete comment.Tom Lane
2004-09-01Tweak prettyprinting rules for saner indenting of UNION, INTERSECT,Tom Lane
EXCEPT constructs.
2004-09-01Fix bcc to compile libpq by creating include file for path.c.Bruce Momjian
2004-09-01Realign libpq and psql for need for path.c under Win32 VC and BCC.Bruce Momjian
2004-09-01Back out Cygwin timezone change until we have a more global solution.Bruce Momjian
2004-09-01Fix mistaken comment.Tom Lane
2004-09-01Whack Wisconsin benchmark around until it actually works again.Tom Lane
It's still useless because it tests a standalone backend, but at least the bit rot is repaired.
2004-09-01Add code to be able to match the timezone name on localized WindowsTom Lane
systems. Magnus Hagander.
2004-09-01Translation updatesDennis Bjorklund
2004-09-01Cast _timezone to int from time_t for Cygwin.Bruce Momjian
2004-09-01src/bin/psql/tab-complete.c =~ s/CONVERSATION/CONVERSION/;Bruce Momjian
Greg Sabino Mullane
2004-08-31needs_toast_table() should ignore dropped columns.Tom Lane
2004-08-31Code review for recent changes in guc-file.l. Avoid multiple frees,Tom Lane
use of already-freed strings, other silliness. Also fix reporting of config file syntax errors so that it actually works reasonably well (eg, points at the correct line). Use palloc instead of malloc for temporary storage to reduce code clutter.
2004-08-31Code review for various recent GUC hacking. Don't elog(ERROR) whenTom Lane
not supposed to (fixes problem with postmaster aborting due to mistaken postgresql.conf change); don't call superuser() when not inside a transaction (fixes coredump when, eg, try to set log_statement from PGOPTIONS); some message style guidelines enforcement.
2004-08-31Fix unintended assignment of sequences to the containing schema'sTom Lane
default tablespace --- they should always go in the database's default tablespace. Adjust heap_create() API so that it is passed the relkind to make this easier; should simplify any further tweaking of the same sort.
2004-08-31FlushRelationBuffers was also being a bit cavalier about whether theTom Lane
relation is already opened by smgr.