95c034e311
Translation updates
2004-09-13 12:35:18 +00:00
77697dcaa3
New translations
2004-09-13 12:20:24 +00:00
b972ab7178
New translation
2004-09-13 12:14:50 +00:00
a67b5bd3b9
Translation updates
2004-09-13 12:11:22 +00:00
9ffeab55c9
Fix two typos in comments.
2004-09-13 01:45:32 +00:00
409de6be6c
Re-add brace removal code but comment it out so we know why we removed
...
it and have it in case we need it for some special case.
2004-09-12 22:21:30 +00:00
47402a9b00
Remove code that delete braces around single statements.
2004-09-12 22:11:27 +00:00
abc98dcc15
When LockAcquire fails at the stage of creating a proclock object, be
...
sure to clean up the already-created lock object, if it has no other
references. Avoids possibly-permanent leak of shared memory.
2004-09-12 18:30:50 +00:00
493f72606b
Renumber SnapshotNow and the other special snapshot codes so that
...
((Snapshot) NULL) can no longer be confused with a valid snapshot,
as per my recent suggestion. Define a macro InvalidSnapshot for 0.
Use InvalidSnapshot instead of SnapshotAny as the do-nothing special
case for heap_update and heap_delete crosschecks; this seems a little
cleaner even though the behavior is really the same.
2004-09-11 18:28:34 +00:00
9835944e54
Ensure that pg_largeobject references opened by lo_import() or lo_export()
...
will be cleaned up at end of transaction, even when there is no other LO
operation in the transaction. Per bug report from Daniel Schuchardt.
2004-09-11 15:56:46 +00:00
b85faa87b9
Send thread test output to file descriptor 5 like configure does rather
...
than /dev/null, which Win32 doesn't have.
2004-09-11 02:12:17 +00:00
8becd824aa
Check for ignored thread compiler options to reduce compiler noise.
2004-09-11 00:03:06 +00:00
8a54a51863
Done:
...
< * Have AFTER triggers execute after the appropriate SQL statement in a
> * -Have AFTER triggers execute after the appropriate SQL statement in a
2004-09-10 22:38:52 +00:00
1d681d6cee
Fix some problems with restoring databases owned by non-superusers,
...
as per bug #1249 ; and remove the last vestiges of using \connect to
change authorization.
2004-09-10 20:05:18 +00:00
b339d1fff6
Fire non-deferred AFTER triggers immediately upon query completion,
...
rather than when returning to the idle loop. This makes no particular
difference for interactively-issued queries, but it makes a big difference
for queries issued within functions: trigger execution now occurs before
the calling function is allowed to proceed. This responds to numerous
complaints about nonintuitive behavior of foreign key checking, such as
http://archives.postgresql.org/pgsql-bugs/2004-09/msg00020.php , and
appears to be required by the SQL99 spec.
Also take the opportunity to simplify the data structures used for the
pending-trigger list, rename them for more clarity, and squeeze out a
bit of space.
2004-09-10 18:40:09 +00:00
856d1faac1
Add:
...
> * Make row-wise comparisons work per SQL spec
>
2004-09-10 16:35:56 +00:00
af7f6c0a6e
Fix #if define
2004-09-10 15:51:47 +00:00
487466a601
Fix palloc call from /port for Cygwin.
2004-09-10 15:23:51 +00:00
e515c3b13e
Properly include port file for Cygwin.
2004-09-10 15:20:19 +00:00
74248ad673
Minor cleanup.
2004-09-10 14:27:37 +00:00
390c148557
More cleanup.
2004-09-10 14:24:25 +00:00
256ee0d5f3
Use $PORTNAME consistently instead of $host_os, where appropriate.
2004-09-10 13:53:40 +00:00
594be448e1
Add:
...
> * Remove Win32 rename/unlink looping if unnecessary
2004-09-10 10:03:41 +00:00
777687c6de
Add mention loops over unlink/rename might not be needed.
2004-09-10 09:58:21 +00:00
e2e1a0cc71
Move undef of rename/unlink so system declarations are unmodified.
2004-09-10 09:53:08 +00:00
3036b84b77
Adjust quotes for win32 build of psql.
2004-09-10 09:45:21 +00:00
bc4911bb43
Fix two typos in comments.
2004-09-10 04:36:42 +00:00
87438cb90e
Apply patch from Steven Singer for contrib/dbmirror. Changes:
...
-It fixes up some bugs with handling setval calls
-Adds upgrade instructions from prior versions
-Improved the sample config file
-Fixed some things in the clean_pending script
2004-09-10 04:31:06 +00:00
ae7ea1395c
psql consistency fixes from Greg Sabino Mullane: have \df show schema and
...
name first, make sure \di+ shows description last, and make \dl SQL look
a little more standard.
2004-09-10 04:10:53 +00:00
35e88b512e
Create pg_config_paths in port/ for win32 builds of psql.
2004-09-10 03:48:54 +00:00
8975dcfcbb
Clean up Cygwin test.
2004-09-10 02:49:37 +00:00
b493b39004
Move TIMEZONE_GLOBAL out into the proper place.
2004-09-09 14:18:20 +00:00
cec5d26d34
We don't use java in our compiles anymore so remove the filter test from
...
pgtest.
2004-09-09 09:57:23 +00:00
dbff17a8c8
Added a call to gettext() to fix broken translated error messages.
2004-09-09 06:56:48 +00:00
877aa19211
Translation updates
2004-09-09 06:46:57 +00:00
65f35065f4
Some source files was not scanned for translatable strings.
2004-09-09 06:32:13 +00:00
00eb901d92
Translation updates
2004-09-09 06:02:39 +00:00
f1d1116178
Fix Cygwin defines to be consistent.
2004-09-09 00:59:49 +00:00
b70999d0fd
Make TZNAME_GLOBAL for reference to tzname global variable.
2004-09-09 00:24:12 +00:00
f62901ca81
Minor efficiency improvements in keeping track of trigger deferred
...
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-08 23:47:58 +00:00
b1c4bdae74
Clarify description of SET CONSTRAINTS. Point out that it is still
...
missing the ability to schema-qualify constraint names.
2004-09-08 20:47:37 +00:00
e97c817092
Use _timezone global on Cygwin instead of timezone.
2004-09-08 19:43:12 +00:00
cef30c650b
Improve README with mention of new functions.
2004-09-08 19:35:33 +00:00
6bb0d54eb8
Fix a couple of small errors in trigger-list management, as per recent
...
discussion.
2004-09-07 21:48:30 +00:00
2750b11e18
Fix places where WaitForxxx can block, to eliminate failure to detect
...
deadlock on Win32. Magnus Hagander
2004-09-07 14:31:42 +00:00
a1f7fb0975
Fix error in Windows version of CHECK_FOR_INTERRUPTS macro.
...
This prevented statement_timeout from working.
Magnus Hagander
2004-09-06 23:55:34 +00:00
083258e535
Fix a number of places where brittle data structures or overly strong
...
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-06 23:33:48 +00:00
d55588ea7a
Guard against transaction control statements in SQL functions. This
...
never worked, but it particularly doesn't work now.
2004-09-06 18:10:38 +00:00
23645f0582
Fix incorrect ordering of smgr cleanup relative to buffer pin cleanup
...
during transaction abort. Add a regression test case to catch related
mistakes in future. Alvaro Herrera and Tom Lane.
2004-09-06 17:56:33 +00:00
eb917c1a21
I can't see any good reason for DropRelFileNodeBuffers to be issuing
...
FATAL when it detects a nonzero reference count. Reduce to ERROR.
2004-09-06 17:31:32 +00:00