Commit Graph

  • 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
  • a080ec0af6 Update German FAQ. Bruce Momjian 2004-10-27 02:01:14 +00:00
  • b69170481e Add reminder to update copyright in sgml file. Bruce Momjian 2004-10-26 23:42:49 +00:00
  • 3d2849820b Document IS DISTINCT FROM in a more obvious place, and add some more index entries for IS-foo constructs. Tom Lane 2004-10-26 22:16:12 +00:00
  • 3b6cc1ad6d Add: Bruce Momjian 2004-10-26 19:41:22 +00:00
  • 780d66554d Update Russian FAQ. Bruce Momjian 2004-10-26 17:28:27 +00:00
  • 83cd2d8b0f Make heap_fetch API more consistent by having the buffer remain pinned in all cases when keep_buf = true. This allows ANALYZE's inner loop to use heap_release_fetch, which saves multiple buffer lookups for the same page and avoids overestimation of cost by the vacuum cost mechanism. Tom Lane 2004-10-26 16:05:03 +00:00
  • 2c66dcf684 In the new dispensation where REINDEX doesn't take exclusive lock on the parent table, it's essential that all index accesses take some kind of lock on the index. I had missed vacuumlazy.c :-( ... Tom Lane 2004-10-25 15:42:02 +00:00
  • 1d6b096941 Update copyright information in documentation. Also, add a note to RELEASE_CHANGES so that this is not forgotten in the future. Neil Conway 2004-10-25 06:40:39 +00:00
  • ea7f2f6a58 Remove three unnecessary casts from a pointer type to char * when calling pfree(). Neil Conway 2004-10-25 06:27:21 +00:00
  • 86bcfc788b Fix tyop in comment. Neil Conway 2004-10-25 03:23:02 +00:00
  • 02ca529dd8 Make error message more verbose, in hopes of avoiding misunderstandings such as bug #1293. Tom Lane 2004-10-25 03:08:29 +00:00
  • 0636d55843 Fix some more 'old-style parameter declaration' warnings. Tom Lane 2004-10-25 02:30:29 +00:00
  • f1283ed6cc Fix a bunch of 'old-style parameter declaration' warnings induced by writing 'foo()' rather than 'foo(void)'. Tom Lane 2004-10-25 02:15:02 +00:00
  • 8ec05b28b7 Modify hash_create() to elog(ERROR) if an error occurs, rather than returning a NULL pointer (some callers remembered to check the return value, but some did not -- it is safer to just bail out). Neil Conway 2004-10-25 00:46:43 +00:00
  • 346aff04be make sure we tag configure.in as beta4 as well ... REL8_0_0BETA4 PostgreSQL Daemon 2004-10-25 00:11:04 +00:00
  • 643bb8125c Back-patch removal of extraneous semicolon, so that this will build with recent bisons (if anyone still cares). Tom Lane 2004-10-24 23:02:41 +00:00
  • 5d8ac07353 Update for 8.0: pg_tablespace is now also a shared catalog. Tom Lane 2004-10-24 22:52:04 +00:00
  • 8f4edadb09 Add note that REINDEX takes a weaker lock than it used to. Tom Lane 2004-10-24 22:43:56 +00:00
  • 7e89f63c46 Add comparison file for exp-three-digits formatting. Tom Lane 2004-10-24 22:11:37 +00:00
  • 549a4bd6fe Adjust message to not be misleading on Windows. Andrew Dunstan Tom Lane 2004-10-24 22:09:33 +00:00
  • 39fccf0277 On Windows, cause get_progname to strip any .EXE suffix. Andrew Dunstan Tom Lane 2004-10-24 22:08:19 +00:00
  • 0f845a9f09 Add comparison file for exp-three-digits formatting. Tom Lane 2004-10-24 21:54:57 +00:00
  • a1f585139b Replace ad-hoc atof() code with call to float4in, per Andrew Dunstan. Tom Lane 2004-10-24 21:47:07 +00:00
  • 85b2facdd8 Write config files as text not binary, per Magnus Hagander. Tom Lane 2004-10-24 15:55:29 +00:00
  • 15db03181a Sync timezone data with latest zic database (dated Oct 11 2004). Tom Lane 2004-10-24 15:09:57 +00:00
  • 261f184f0c Update RELEASE_CHANGES to mention updating the timezone database as a routine part of release prep. Tom Lane 2004-10-24 15:01:54 +00:00
  • 1b9c10275a Translation update Dennis Bjorklund 2004-10-24 14:55:04 +00:00
  • 9b3fc492d3 If we're going to test for switch validity by observing whether the compiler emits any warnings, the test program had better be 100% correct, not only 90% correct. The recent addition of -Wold-style-definition broke thread-safety detection on every platform that has that switch, because the test program used an old-style definition. Tom Lane 2004-10-24 00:54:12 +00:00
  • 8b9aaea888 Translation update Dennis Bjorklund 2004-10-23 14:48:03 +00:00
  • fea9cf6231 Translation updates Dennis Bjorklund 2004-10-23 07:29:27 +00:00
  • 3b15cc9129 Translation update Dennis Bjorklund 2004-10-23 06:48:59 +00:00
  • f4eaed6bd9 Translation updates Dennis Bjorklund 2004-10-23 06:40:24 +00:00
  • 0b7705fff8 Translation updates Dennis Bjorklund 2004-10-23 06:32:53 +00:00
  • 529db99c6e Avoid overflow in cost_sort when work_mem exceeds 1Gb. Tom Lane 2004-10-23 00:05:27 +00:00
  • 6e3cc2029d Fix tsearch build problems. Magnus Hagander Tom Lane 2004-10-22 22:33:58 +00:00
  • 521408a56f Don't use LC_MESSAGES value on WIN32, since it doesn't work. Magnus Hagander Tom Lane 2004-10-22 22:30:57 +00:00
  • 9e83d73b6c Add a GUC_SUPERUSER_ONLY flag to mark GUC variables that should not be examinable by non-superusers, and use it to protect the recently-added GUC variables for data directory and config files. For now I have only flagged those variables that could be used to deduce something about the server's filesystem layout, but possibly we should also mark vars related to logging settings and other admin-only information? Tom Lane 2004-10-22 19:48:19 +00:00
  • 9309d5f2ba In ALTER COLUMN TYPE, strip any implicit coercion operations appearing at the top level of the column's old default expression before adding an implicit coercion to the new column type. This seems to satisfy the principle of least surprise, as per discussion of bug #1290. Tom Lane 2004-10-22 17:20:05 +00:00
  • 4733dcc592 Translation updates Peter Eisentraut 2004-10-22 16:05:02 +00:00
  • 77c0204a37 Message styling Peter Eisentraut 2004-10-22 16:04:35 +00:00
  • c70b7b7a6c Translation update Dennis Bjorklund 2004-10-22 14:14:24 +00:00
  • f4eb440279 New swedish translation of pg_config Dennis Bjorklund 2004-10-22 14:13:04 +00:00
  • f4680c0ff3 Fix documentation typo. Neil Conway 2004-10-22 14:12:41 +00:00
  • 26149e9738 Translation updates Dennis Bjorklund 2004-10-22 13:49:15 +00:00
  • cae2018b49 Translation updates Dennis Bjorklund 2004-10-22 13:41:47 +00:00
  • 7e62f0578a Translation updates. Dennis Bjorklund 2004-10-22 12:04:13 +00:00
  • 121aca39ba Minor code cleanup: hdefault() only ever returned "true", so it may as well be declared to return "void" to save callers the trouble of checking for errors. Neil Conway 2004-10-22 07:21:06 +00:00
  • 6452043ec8 Stamp release 7.2.6. REL7_2_6 Tom Lane 2004-10-22 00:27:34 +00:00
  • 42a8068b5c Stamp release 7.3.8. REL7_3_8 Tom Lane 2004-10-22 00:27:05 +00:00
  • 7447537803 Stamp release 7.4.6. REL7_4_6 Tom Lane 2004-10-22 00:26:24 +00:00
  • a57df8d50d Update release history for releases 7.4.6, 7.3.8, 7.2.6. Tom Lane 2004-10-22 00:25:18 +00:00
  • 6acddf56b4 Prevent pg_ctl from being run as root. Since it uses configuration files owned by postgres, doing "pg_ctl start" as root could allow a privilege escalation attack, as pointed out by iDEFENSE. Of course the postmaster would fail, but we ought to fail a little sooner to protect sysadmins unfamiliar with Postgres. The chosen fix is to disable root use of pg_ctl in all cases, just to be confident there are no other holes. Tom Lane 2004-10-22 00:24:39 +00:00
  • 0b83c1f272 Prevent pg_ctl from being run as root. Since it uses configuration files owned by postgres, doing "pg_ctl start" as root could allow a privilege escalation attack, as pointed out by iDEFENSE. Of course the postmaster would fail, but we ought to fail a little sooner to protect sysadmins unfamiliar with Postgres. The chosen fix is to disable root use of pg_ctl in all cases, just to be confident there are no other holes. Tom Lane 2004-10-22 00:24:33 +00:00
  • 5b7e88dbe0 Prevent pg_ctl from being run as root. Since it uses configuration files owned by postgres, doing "pg_ctl start" as root could allow a privilege escalation attack, as pointed out by iDEFENSE. Of course the postmaster would fail, but we ought to fail a little sooner to protect sysadmins unfamiliar with Postgres. The chosen fix is to disable root use of pg_ctl in all cases, just to be confident there are no other holes. Tom Lane 2004-10-22 00:24:27 +00:00
  • c58675b428 Prevent pg_ctl from being run as root. Since it uses configuration files owned by postgres, doing "pg_ctl start" as root could allow a privilege escalation attack, as pointed out by iDEFENSE. Of course the postmaster would fail, but we ought to fail a little sooner to protect sysadmins unfamiliar with Postgres. The chosen fix is to disable root use of pg_ctl in all cases, just to be confident there are no other holes. Tom Lane 2004-10-22 00:24:18 +00:00
  • 25d1755a29 Update obsolete comments about COPY vs INSERT options, per Uwe Schroeder. Tom Lane 2004-10-21 22:49:04 +00:00
  • 9eff02f5ac Update obsolete comments about COPY vs INSERT options, per Uwe Schroeder. Tom Lane 2004-10-21 22:48:54 +00:00
  • 12a47c6aca Disallow referential integrity actions from being deferred; only the NO ACTION check is deferrable. This seems to be a closer approximation to what the SQL spec says than what we were doing before, and it prevents some anomalous behaviors that are possible now that triggers can fire during the execution of PL functions. Stephan Szabo. Tom Lane 2004-10-21 21:33:59 +00:00
  • 7627b91cd5 Set the close-on-exec flag for libpq's socket to the backend, to avoid any possible problems from child programs executed by the client app. Per suggestion from Elliot Lee of Red Hat. Tom Lane 2004-10-21 20:23:19 +00:00
  • 3fdd33ab99 Avoid macro-redefinition warnings on Windows, per Andrew Dunstan. Tom Lane 2004-10-21 19:49:27 +00:00
  • 380bd04c16 Standardize on using the Min, Max, and Abs macros that are in our c.h file, getting rid of numerous ad-hoc versions that have popped up in various places. Shortens code and avoids conflict with Windows min() and max() macros. Tom Lane 2004-10-21 19:28:36 +00:00
  • d06384c6d7 Correctly cast the return value of a CallableStatement when getShort is called. getByte presents a can't happen situation as no function can return a TINYINT because pg doesn't have an equivalent type. Make this throw an exception if we get to this point. Kris Jurka 2004-10-21 19:13:55 +00:00
  • 02571d4e20 Back-patch make_oidjoins_check security improvement. Tom Lane 2004-10-21 17:12:35 +00:00
  • d9c1e5e1c2 Back-patch make_oidjoins_check security improvement. Tom Lane 2004-10-21 17:12:27 +00:00
  • 62a6019c49 Back-patch make_oidjoins_check security improvement. Tom Lane 2004-10-21 17:12:19 +00:00
  • a171fc1a4f Use temp files in current directory, not /tmp, to reduce security risk while running this script. Tom Lane 2004-10-20 16:42:46 +00:00
  • fb22b32095 Allow functions returning void or cstring to appear in FROM clause, to make life cushy for the JDBC driver. Centralize the decision-making that affects this by inventing a get_type_func_class() function, rather than adding special cases in half a dozen places. Tom Lane 2004-10-20 16:04:50 +00:00
  • 857e210ea9 When using GCC, change the default CFLAGS to: Neil Conway 2004-10-20 02:12:07 +00:00
  • a1bc728cf9 Add a HINT about the likely reason for 'invalid multibyte character for locale' failure. Tom Lane 2004-10-19 15:04:17 +00:00
  • 3371b99e65 New translation Peter Eisentraut 2004-10-19 13:39:27 +00:00
  • 9f2d5df3b9 Organize the help output a little better. Improve clarity of some messages. Peter Eisentraut 2004-10-19 13:38:53 +00:00
  • c77d06633a Add some code to ensure that we don't lose communication sync due to an oversize message, per suggestion from Oliver Jowett. I'm a bit dubious that this is a real problem, since the client likely doesn't have any more space available than the server, but it's not hard to make it behave according to the protocol intention. Tom Lane 2004-10-18 23:23:19 +00:00
  • 6e53f18b84 New translation Peter Eisentraut 2004-10-18 22:19:15 +00:00
  • 2aa8d0a807 Might want to initialize the gettext library, if we're going to do all that translation work. Peter Eisentraut 2004-10-18 22:19:00 +00:00
  • a465f24a1e Translation update Peter Eisentraut 2004-10-18 22:18:03 +00:00
  • 9d9cfb1ad7 Add PQprepare/PQsendPrepared functions to libpq to support preparing statements without necessarily specifying the datatypes of their parameters. Abhijit Menon-Sen with some help from Tom Lane. Tom Lane 2004-10-18 22:00:42 +00:00
  • b3fe6bcafe Remove use of "miscadmin.h" in port C files and remove test for frontend in miscadmin.h. Bruce Momjian 2004-10-18 19:08:58 +00:00
  • cd8db9532b New translation Peter Eisentraut 2004-10-18 17:58:54 +00:00
  • d5213d94b9 Translation updates Peter Eisentraut 2004-10-18 17:56:46 +00:00
  • 68970b3e61 New translation Peter Eisentraut 2004-10-18 17:53:40 +00:00
  • cc32ac990b Updated SQL key words table Peter Eisentraut 2004-10-18 17:09:03 +00:00
  • 0060b3c8eb The attached patch fixes psql's win32 frontend-only build, by using pg_strcasecmp in variables.c, and #ifdef'ing out PostmasterPid in miscadmin.h. Bruce Momjian 2004-10-18 16:24:40 +00:00