Commit Graph

  • fb6c6807d2 Remove win32 TODO.detail. Bruce Momjian 2004-11-08 14:46:52 +00:00
  • 0d3b8e9a50 Allow win32/cygwin link against the first matching library symbol rather than erroring out. This is the Unix behavior. Bruce Momjian 2004-11-08 05:23:26 +00:00
  • 3a372d61d0 Kris Jurka pointed out that the qualified_name production wasn't working as intended --- for some reason, FROM a.b.c was getting parsed as if it were a function name and not a qualified name. I think there must be a bug in bison, because it should have complained that the grammar was ambiguous. Anyway, fix it along the same lines previously used for func_name vs columnref, and get rid of the right-recursion in attrs that seems to have confused bison. Tom Lane 2004-11-08 04:02:20 +00:00
  • 3392959b6e Fix unportable code in SockAddr_cidr_mask: you can't assume that shifting left by full word width gives zero. Per bug report from Tyson Thomson. Tom Lane 2004-11-08 01:54:58 +00:00
  • 0d1ca2a474 Fix unportable code in SockAddr_cidr_mask: you can't assume that shifting left by full word width gives zero. Per bug report from Tyson Thomson. Tom Lane 2004-11-08 01:54:40 +00:00
  • c22b4fa386 New translation Peter Eisentraut 2004-11-07 23:38:19 +00:00
  • 22aef89cbf Translation update Peter Eisentraut 2004-11-07 23:29:35 +00:00
  • 58b33f2e85 Translation updates Peter Eisentraut 2004-11-07 23:28:20 +00:00
  • 33be9d359a Removes duplicate slashes from the path in canonicalize_path(). It preserve double leading slashes on Win32. Bruce Momjian 2004-11-07 02:12:17 +00:00
  • 336969e490 Add code to find_my_exec() to resolve a symbolic link down to the actual executable location. This allows people to continue to use setups where, eg, postmaster is symlinked from a convenient place. Per gripe from Josh Berkus. Tom Lane 2004-11-06 23:06:29 +00:00
  • bffe45a72c Simplify relative-path logic, on the assumption that compiled-in paths won't have trivial differences in their common prefix. Tom Lane 2004-11-06 21:39:45 +00:00
  • 04baa0ebf9 Update pg_dump to use SET DEFAULT_TABLESPACE instead of explicit tablespace clauses; this should improve compatibility of dump files. Philip Warner, some rework by Tom Lane. Tom Lane 2004-11-06 19:36:02 +00:00
  • 1d13bed735 Remove directory from cmd.exe default shell. Bruce Momjian 2004-11-06 17:56:40 +00:00
  • f245c4eb1a When implementing a coercion to a domain type with a combined type-and-length coercion function, make sure that the coercion function is told the correct typmod. Fixes Kris Jurka's example of a domain over bit(N). Tom Lane 2004-11-06 17:46:38 +00:00
  • a981b02336 Reduce formatting entropy Peter Eisentraut 2004-11-06 14:32:10 +00:00
  • 9a643a9669 Remove: Bruce Momjian 2004-11-06 05:38:19 +00:00
  • fa00650d8a Now that we advertize only CIDR address in pg_hba.conf, remove duplicates sample entries from comments. Bruce Momjian 2004-11-06 05:32:05 +00:00
  • 86100de856 Variable initializer no longer necessary. Bruce Momjian 2004-11-06 05:20:41 +00:00
  • 7ba377431e Tests for COMSPEC in the right place and supply a reasonable shell default on Win32. Bruce Momjian 2004-11-06 04:29:40 +00:00
  • d2f6c3e56c Fix sizeof(EXE) arithmetic, per Andrew Dunstan. Tom Lane 2004-11-06 04:24:14 +00:00
  • 6105c9a145 *** empty log message *** Bruce Momjian 2004-11-06 03:25:20 +00:00
  • 14cb5e5ae6 Update "dash" to "hyphen". Bruce Momjian 2004-11-06 03:24:21 +00:00
  • 4867afef7a Code cleanup in path.c and exec.c. Handle Windows drive and network specs everywhere not just some places, get rid of . and .. when joining path sections together. This should eliminate most of the ugly paths like /foo/bar/./baz that we've been generating. Tom Lane 2004-11-06 01:16:22 +00:00
  • 3d6e538edf pred_test() logic was being too narrow-minded about where it might find RestrictInfo nodes in the query expression. Per example from James Robinson. Tom Lane 2004-11-05 20:45:10 +00:00
  • 98e8b48053 Create 'default_tablespace' GUC variable that supplies a TABLESPACE clause implicitly whenever one is not given explicitly. Remove concept of a schema having an associated tablespace, and simplify the rules for selecting a default tablespace for a table or index. It's now just (a) explicit TABLESPACE clause; (b) default_tablespace if that's not an empty string; (c) database's default. This will allow pg_dump to use SET commands instead of tablespace clauses to determine object locations (but I didn't actually make it do so). All per recent discussions. Tom Lane 2004-11-05 19:17:13 +00:00
  • 0ed3c7665e Small message clarifications Peter Eisentraut 2004-11-05 17:11:34 +00:00
  • a23db90ce0 Translation update Peter Eisentraut 2004-11-05 17:08:11 +00:00
  • 655b4741fc Fix typo: Bruce Momjian 2004-11-05 03:11:54 +00:00
  • 6c3083afe1 Add items: Bruce Momjian 2004-11-05 03:04:36 +00:00
  • 54691d414d Fix psql \e and \! for Win32. Bruce Momjian 2004-11-04 22:25:14 +00:00
  • e48b9b5570 Minor documentation updates from Simon Riggs. Tom Lane 2004-11-04 19:08:42 +00:00
  • e505a70c7f Add: Bruce Momjian 2004-11-04 17:09:54 +00:00
  • b976e92431 Add: Bruce Momjian 2004-11-04 16:53:58 +00:00
  • 2c793d1c87 Updates from Simon Riggs: Bruce Momjian 2004-11-04 16:49:53 +00:00
  • c894e7e8e0 Update bitmap index entries: Bruce Momjian 2004-11-04 16:19:46 +00:00
  • c874e7727a Fix build break, per report from Kris Jurka. Rename README to README.mysql, for consistency. Neil Conway 2004-11-04 09:12:35 +00:00
  • 8f012ac89b Contrib build fixes: Neil Conway 2004-11-04 06:09:26 +00:00
  • 4fbdfbffc6 Update: Bruce Momjian 2004-11-04 03:57:58 +00:00
  • c21214f1c0 Honor TMPDIR. Bruce Momjian 2004-11-04 02:04:10 +00:00
  • ed9e8f5480 Move trap to after the directory is created. Bruce Momjian 2004-11-03 23:06:52 +00:00
  • 0f7a2a5fbe Create temporary files securely. Bruce Momjian 2004-11-03 22:46:15 +00:00
  • a809899680 Update tablespace temp usage item: Bruce Momjian 2004-11-03 22:20:52 +00:00
  • f6b4707f1b Add idea on auto-cluster: Bruce Momjian 2004-11-03 19:38:20 +00:00
  • aafbf33d96 Add idea on auto-cluster: Bruce Momjian 2004-11-03 19:28:11 +00:00
  • f4127feacf Don't create $DESTDIR/include/internal/lib, as it is no longer used. Neil Conway 2004-11-03 07:38:08 +00:00
  • d0066b9fa4 Tab completion for CREATE TABLESPACE arguments. Patch by Joachim Wieland. Peter Eisentraut 2004-11-02 16:10:05 +00:00
  • 745bb9600f Update: Bruce Momjian 2004-11-02 14:49:27 +00:00
  • bb2d1ce8f1 Translation updates Peter Eisentraut 2004-11-02 09:28:41 +00:00
  • 005b1b5fc8 Translation updates Peter Eisentraut 2004-11-02 09:20:22 +00:00
  • fa82cddfd2 Move pthread.h test up to use PTHREAD_CFLAGS. Bruce Momjian 2004-11-02 05:44:45 +00:00
  • 0c3663b47d Add comment to postmaster.c that get_progname() will call exit if it can't strdup(). Bruce Momjian 2004-11-02 03:34:50 +00:00
  • b0830e39c3 Add comment about memory failure of get_progname exiting the postmaster: Bruce Momjian 2004-11-02 03:09:06 +00:00
  • c4acbb843b timestamptz_trunc() should only recalculate the timezone when truncating to DAY precision or coarser; leave the timezone alone when precision is HOUR or less. This avoids surprises for inputs near a DST transition time, as per example from Matthew Gabeler-Lee. (The only reason we recalculate at all is so that outputs that are supposed to represent days will come out as local midnight, and that's not relevant for sub-day precision.) Tom Lane 2004-11-01 22:00:30 +00:00
  • 5ba04cd9f1 Invent pg_next_dst_boundary() and rewrite DetermineLocalTimeZone() to use it, as per my proposal of yesterday. This gives us a means of determining the zone offset to impute to an unlabeled timestamp that is both efficient and reliable, unlike all our previous tries involving mktime() and localtime(). The behavior for invalid or ambiguous times at a DST transition is fixed to be really and truly "assume standard time", fixing a bug that has come and gone repeatedly but was back again in 7.4. (There is some ongoing discussion about whether we should raise an error instead, but for the moment I'll make it do what it was previously intended to do.) Tom Lane 2004-11-01 21:34:44 +00:00
  • 7fad5fff0d That's just the lovely way windows handles a "segfault". Gotta be really interesting for MS to catch all those dumps... Bruce Momjian 2004-11-01 19:21:50 +00:00
  • 9c3d654a16 Update comment to point to proper file. Bruce Momjian 2004-11-01 14:33:10 +00:00
  • 5a57beccc3 fixed bug in REVOKE statement cat_str only has 8 arguments Dave Cramer 2004-11-01 13:35:54 +00:00
  • 7914deecb8 fixed bug in segfault REVOKE statement Dave Cramer 2004-11-01 13:17:12 +00:00
  • feac3364ed Trivial fixes for English grammar in contrib/btree_gist and contrib/rtree_gist documentation. Neil Conway 2004-11-01 11:11:13 +00:00
  • 584bfe3d70 Adjust use of sizeof(EXE). Bruce Momjian 2004-11-01 04:46:56 +00:00
  • b2b585fb2d Clarify coding of .exe patch Bruce Momjian 2004-11-01 04:25:18 +00:00
  • a21c00d742 Update: Bruce Momjian 2004-11-01 02:22:05 +00:00
  • a9b6a5ca41 Add: Bruce Momjian 2004-11-01 00:28:40 +00:00
  • e837e4be8f Use psql -q option instead of 2>/dev/null during first invocation of psql; this should make it easier to diagnose client-side problems, such as library version mismatch. Also, consistently use -X option to avoid problems from weird .psqlrc settings. Tom Lane 2004-10-31 19:14:16 +00:00
  • 44e8a968e3 Invent a new, more thread-safe version of PQrequestCancel, called PQcancel. Use this new function in psql. Implement query cancellation in psql for Windows. Code by Magnus Hagander, documentation and minor editorialization by Tom Lane. Tom Lane 2004-10-30 23:11:27 +00:00
  • 80559fa9e9 I found a corner case in which it is possible for RI_FKey_check's call of HeapTupleSatisfiesItself() to trigger a hint-bit update on the tuple: if the row was updated or deleted by a subtransaction of my own transaction that was later rolled back. This cannot occur in pre-8.0 of course, so the hint-bit patch applied a couple weeks ago is OK for existing releases. But for 8.0 it seems we had better fix things so that RI_FKey_check can pass the correct buffer number to HeapTupleSatisfiesItself. Accordingly, add fields to the TriggerData struct to carry the buffer ID(s) for the old and new tuple(s). There are other possible solutions but this one seems cleanest; it will allow other AFTER-trigger functions to safely do tqual.c calls if they want to. Put new fields at end of struct so that there is no API breakage. Tom Lane 2004-10-30 20:53:06 +00:00
  • 88868d4fbc Change COMMIT back to the old behavior of emitting command tag COMMIT, not ROLLBACK, for the case of COMMIT outside a transaction block. Alvaro Herrera Tom Lane 2004-10-30 20:44:43 +00:00
  • e5ac8db035 Translation update Peter Eisentraut 2004-10-30 08:23:32 +00:00
  • 5328b5ef6b New translations Peter Eisentraut 2004-10-30 08:22:17 +00:00
  • 61fbe85985 Rearrange order of pre-commit operations: must close cursors before doing ON COMMIT actions. Per bug report from Michael Guerin. Tom Lane 2004-10-29 22:20:03 +00:00
  • 23f264d125 Rearrange order of pre-commit operations: must close cursors before doing ON COMMIT actions. Per bug report from Michael Guerin. Tom Lane 2004-10-29 22:19:53 +00:00
  • 7d38e59448 Fix broken example for PREPARE. Tom Lane 2004-10-29 19:40:33 +00:00
  • 4eb1165ff3 No need to set errorMessage length --- already set in goto target. Bruce Momjian 2004-10-29 19:30:02 +00:00
  • f05cfd2c73 Fix failure to think clearly about encoding conversion errors in COPY. We can't regurgitate the unconverted string as I first thought, because the elog.c mechanisms will assume the error message data is in the server encoding and attempt a reverse conversion. Eventually it might be worth providing a short-circuit path to support this, but for now the simplest solution is to abandon trying to report back the line contents after a conversion failure. Per bug report from Sil Lee, 27-Oct-2004. Tom Lane 2004-10-29 19:18:22 +00:00
  • 08510856a4 Set errorMessage length in PQrequestCancel() in all places. Bruce Momjian 2004-10-29 17:53:13 +00:00
  • 51967daa06 Improvements to the CREATE DATABASE reference page's description of the TABLESPACE clause. Neil Conway 2004-10-29 03:17:22 +00:00
  • ade8f5c8d4 Minor improvements to the tablespace documentation. Neil Conway 2004-10-29 02:11:18 +00:00
  • ee69be44d5 Add DEBUG1-level logging of checkpoint start and end. Also, reduce the 'recycled log files' and 'removed log files' messages from DEBUG1 to DEBUG2, replacing them with a count of files added/removed/recycled in the checkpoint end message, as per suggestion from Simon Riggs. Tom Lane 2004-10-29 00:16:08 +00:00
  • fe2bfa6332 This makes dblink pass its installcheck test on platforms where snprintf(data, len, %s, NULL) crash. Tom Lane 2004-10-28 22:31:11 +00:00
  • 5a5f34e022 Code cleanup in dirmod.c. Andrew Dunstan, some further mods by moi. Tom Lane 2004-10-28 22:09:31 +00:00
  • 319902dc8c Fix to_number for the case of a trailing S. Karel Zak Tom Lane 2004-10-28 18:55:08 +00:00
  • 5fef3c6ef0 Translation update Peter Eisentraut 2004-10-28 09:38:27 +00:00
  • 94c502f1db Translation updates Peter Eisentraut 2004-10-28 09:01:06 +00:00
  • fc4cfc366d Translation updates Peter Eisentraut 2004-10-28 08:54:09 +00:00
  • 6f1b3cf19c Use AllocateFile(), FreeFile() and palloc() rather than fopen(), fclose() and malloc() in pgstat.c, respectively. This simplifies error recovery, as well as being more consistent with the rest of the backend. Neil Conway 2004-10-28 01:38:41 +00:00
  • e6f9bf9b7f On Windows, force a checkpoint just before dropping a database's physical files and directories. This ensures that the bgwriter will close any open file references it is holding for files therein, which is needed for the rmdir() to succeed. Andrew Dunstan and Tom Lane. Tom Lane 2004-10-28 00:39:59 +00:00
  • a7049b52e3 Have pg_ctl status always output to stdout, even stopped status, not stderr. Bruce Momjian 2004-10-27 19:44:14 +00:00
  • 43dc050525 Fix Cygwin compile for timezone. Bruce Momjian 2004-10-27 19:14:07 +00:00
  • b2b0673e4b When displaying a Var that is a reference to a column of an unnamed join, try to display it as a reference to the underlying column instead. This is a legitimate substitution (it wouldn't be for a named join) and it fixes some cases where the display would otherwise be ambiguous. Per example from Sim Zacks. Tom Lane 2004-10-27 18:09:41 +00:00
  • 3fe704209a Canonicalize Win32 path coming in from pg_ctl -D, idea from Magnus. Bruce Momjian 2004-10-27 17:17:09 +00:00
  • 118bd91809 Translation update Peter Eisentraut 2004-10-27 11:52:28 +00:00
  • c23f808eeb Translation update Peter Eisentraut 2004-10-27 11:52:05 +00:00
  • 3bc89ac9eb Add a missing dependency: the "install" target requires "all" to have been built before it. Per report from Kris Jurka. Neil Conway 2004-10-27 11:51:40 +00:00
  • 2514e904da New translation Peter Eisentraut 2004-10-27 11:44:09 +00:00
  • ad6b3975c9 Translation updates Peter Eisentraut 2004-10-27 11:22:18 +00:00
  • 2db0bde40e Translation update Peter Eisentraut 2004-10-27 11:13:29 +00:00
  • cd92d85d11 Translation updates Peter Eisentraut 2004-10-27 11:09:33 +00:00
  • 979b0be4c3 Translation updates Peter Eisentraut 2004-10-27 10:22:47 +00:00
  • eb7fc3eb1f Translation updates Peter Eisentraut 2004-10-27 10:13:49 +00:00
  • 28d8ff7948 Trivial fix: clarify a comment. Neil Conway 2004-10-27 07:26:56 +00:00