Commit Graph

  • 25b5faa7cd Just a quick patch. This makes the JDBC driver thread safe, which is an important step towards making the driver compliant, and means that for some Java applications and servlets, only a single database connection is needed, so in a sence this is a nice little show stopper for 6.4 (and should still be backward compatible to 6.3.2). Bruce Momjian 1998-10-08 00:38:21 +00:00
  • 9042e9d757 Cleanup for snprintf for long long's. Bruce Momjian 1998-10-08 00:34:47 +00:00
  • ad567f07be Link unlisten.sgml into what I hope are the right places. Tom Lane 1998-10-08 00:19:49 +00:00
  • 8849655d24 I agree. I think, though, that the best argument presented in the debate was from Paul Vixie, who wanted INET to be the name covering both IPV4 and IPV6. The following kit makes the needed changes: Bruce Momjian 1998-10-08 00:19:47 +00:00
  • ac5a8b9ab5 And some UNLISTEN doco too! Tom Lane 1998-10-08 00:19:13 +00:00
  • 55a5639e93 LISTEN/NOTIFY doc improvements. Tom Lane 1998-10-08 00:18:31 +00:00
  • 30debec6e5 Hello! Bruce Momjian 1998-10-08 00:10:49 +00:00
  • cb4292ea64 vacuum cleanups Bruce Momjian 1998-10-07 22:31:50 +00:00
  • 9549a8cd7d Fix snprintf.c for machines that don't have long long, like some Irix. Bruce Momjian 1998-10-07 17:12:52 +00:00
  • 7d4b59f024 Use the $(LN_S) substitution for "ln -s" since configure tests for it. Thomas G. Lockhart 1998-10-07 06:50:37 +00:00
  • ed24461ca1 Clean up for configuration from the Postgres main configure script. Use @top-srcdir@ to find the right Makefile.global and use ODBCSRCDIR to point to this local directory. Move non-platform-specific stuff to outside the if clauses. Still need to move all platform-specific stuff to the templates. Thomas G. Lockhart 1998-10-07 06:49:22 +00:00
  • fca4519d5b Add conditional compilation of the ODBC directory. Requires --with-odbc specified in the standalone configure. Thomas G. Lockhart 1998-10-07 06:41:40 +00:00
  • effb32c307 Add a few items to support an integrated build of the ODBC interface. Thomas G. Lockhart 1998-10-07 06:39:30 +00:00
  • 608dbb1b3e Separate out the lextest so that it is run by "make" and "make install". Before, "make install" did not run the lextest. Fix up the ODBC make from this main configure. Include configure test for "ln -s" in Makefile.global.in. Was always in configure, just not carried through to here for use. Thomas G. Lockhart 1998-10-07 06:38:29 +00:00
  • 3e66e2b17b make lock variable only used with fcntl Bruce Momjian 1998-10-07 03:45:12 +00:00
  • 252568dc11 Update pg_dump sgml and manuals to remove rule restriction. Bruce Momjian 1998-10-07 02:49:10 +00:00
  • 803204bd1e Playing around with pg_dump for a while resulted in some fixes, enhancements and some found bugs not yet fixed. After all I was able to get useful results when dumping/reloading the regression database. Bruce Momjian 1998-10-06 22:14:21 +00:00
  • 57d57d9500 Took it on myself to change libpq's sharedlib version number from 1.1 to 2.0 for this release. The other frontend shlibs need version number bumps too, but I think a minor version number change will do for them. Tom Lane 1998-10-06 14:22:12 +00:00
  • fe91cd41ea If we're going to offer a default definition of PQmblen, it probably ought to actually work. Tom Lane 1998-10-06 14:16:50 +00:00
  • a4fd4cdc0d Re-apply fix stomped on by someone else's patch. Tsk, tsk. Tom Lane 1998-10-06 14:05:02 +00:00
  • 1eab86e26d Update source code to Byron's v6.30.0250 sources plus minor cleanup to get rid of unused variables. Get clean compile on Linux (Thomas and Gerald). Implement autoconf/configure for standalone builds and use the existing autoconf/configure system when in the Postgres source tree. Code tests and functions with ApplixWare-4.4.1beta on a Linux box. Changes should be backward compatible with WIN32 but still needs testing. Thomas G. Lockhart 1998-10-06 05:58:41 +00:00
  • dfde7f14f0 Install man pages from here now. "make install" will do that along with the html/ps material... Thomas G. Lockhart 1998-10-06 05:44:05 +00:00
  • 72129e98ce Try to configure interfaces/odbc using the --with-odbc switch. Suppress installing man pages from here; do it from the doc/Makefile now. Thomas G. Lockhart 1998-10-06 05:42:58 +00:00
  • b53d36618f Forgot to initialize double quote option to be enabled. Thomas G. Lockhart 1998-10-06 05:35:42 +00:00
  • fe9bf46bd4 Add mention of the new "suppress double quotes" command line option "-n". Thomas G. Lockhart 1998-10-06 05:05:48 +00:00
  • 237e0a6306 Fix for double free from Tatsuo Ishii Bruce Momjian 1998-10-06 03:55:43 +00:00
  • 3abf496b8e > > There is a bug in check_foreign_key of refint.c which is bundled with > > the standard distribution. It occurs when a trigger calling this > > function recursively fires another trigger which calls the same > > function. The calling check_foreign_key loses its plan informantion and > > when it tries to use it the backend closes its channel. You can check it > > with the sql script I am attaching below. > > The solution to this is to do a find_plan again before executing it at > > line 483 of refint.c. > > Therefore two more lines should be added before line 483: Bruce Momjian 1998-10-06 03:12:59 +00:00
  • b7ed6f8512 Hi all Bruce Momjian 1998-10-06 03:09:02 +00:00
  • e1ebac319d Here are the patches against the current source tree. I have run the regression test on a FreeBSD box with both non-MULTIBYTE and MULTIBYTE-enabled, and confirmed that the results are same. Bruce Momjian 1998-10-06 03:02:29 +00:00
  • c77a29a14e Substantial rewrite of async.c to avoid problems with non-reentrant stdio and possibly other problems. Minor changes in xact.c and postgres.c's main loop to support new handling of async NOTIFY. Tom Lane 1998-10-06 02:40:09 +00:00
  • e7e027a6c9 Add configure test to make sure fcntl(SETLK) is available. Tom Lane 1998-10-06 02:32:28 +00:00
  • 9e23ab9b5c Add configure test to make sure fcntl(SETLK) is available, and make backend/libpq/pqcomm.c only try to lock the socket file when the call exists. Also, change open-RDONLY to open-WRONLY; at least on my platform, you can't get a write lock on a file you didn't open for writing. Tom Lane 1998-10-06 02:31:42 +00:00
  • 16c6545d56 Many updates... Tom Lane 1998-10-05 04:11:47 +00:00
  • 445ce6954f Information is now in the chapter on syntax in the User's Guide. Thomas G. Lockhart 1998-10-05 02:55:58 +00:00
  • 37d2f76ef7 Add new information for utility commands. Haven't yet done cleardbdir, ipcclean, pg_passwd, and pg_upgrade. Add reference info for the SQL VACUUM command (oops, forgot it earlier). Thomas G. Lockhart 1998-10-05 02:54:45 +00:00
  • a54ba52101 Properly interpret environment variables passed as the input location. Thomas G. Lockhart 1998-10-05 02:51:21 +00:00
  • 86234a0965 Fix up warning and error messages to use single-quotes around strings. Thomas G. Lockhart 1998-10-05 02:49:36 +00:00
  • 60ed8bbe75 Fix up warning and error messages to use single-quotes aroun strings. Thomas G. Lockhart 1998-10-05 02:48:49 +00:00
  • 4fe24467f4 Add note explaining that NoticeResponse messages can arrive even while idle. Tom Lane 1998-10-04 22:48:42 +00:00
  • 22da903a48 Disable doubling of backslashes in PQprint, per discussion on pgsql-interfaces a couple months ago. Tom Lane 1998-10-04 20:46:39 +00:00
  • 280acf0904 hash.h's use of BSHIFT conflicts with <sys/param.h> on my system. Finally got tired of looking at the compiler warning messages. BSHIFT isn't all that useful, so I just took out the macro. Tom Lane 1998-10-04 20:19:08 +00:00
  • 3512284bda Our 'install-sh' script is BSD-style, therefore requires -c to behave sanely. configure was not treating it as BSD... Tom Lane 1998-10-04 18:28:10 +00:00
  • 10d987c709 Add includes for prototypes for new IP type. Bruce Momjian 1998-10-04 16:24:32 +00:00
  • 18af384bb7 Unixware patches from Billy G. Allie. Bruce Momjian 1998-10-04 15:38:58 +00:00
  • a593107d9e Add prototype include to inet types. Bruce Momjian 1998-10-04 15:35:12 +00:00
  • f5a219204b Remove u_int32_t Bruce Momjian 1998-10-04 15:31:09 +00:00
  • 3f8bc47d6a cnf'ify cleanup Bruce Momjian 1998-10-04 03:30:56 +00:00
  • 2d69fd90b9 Integrate new IP type from Tom Ivar Helbekkmo. Bruce Momjian 1998-10-03 05:41:01 +00:00
  • 607cd930d5 Changes from Michael Meskes: Check strdup calls for out of memory. Set library version to 2.6.2 Synced preproc.y and keywords.c with gram.y and keywords.c yet again. Set version to 2.4.3 Thomas G. Lockhart 1998-10-03 02:33:51 +00:00
  • cbfc9ec6ca Update for newest changes. Thomas G. Lockhart 1998-10-03 02:30:47 +00:00
  • e5a8da02c2 Please apply the patch at the end. Disables use of system columns of views at all (not only oid, cmin etc. too). pgsql=> select cmin from pg_rules; ERROR: system column cmin not available - pg_rules is a view pgsql=> select * from pg_rules where pg_rules.oid = pg_class.oid; ERROR: system column oid not available - pg_rules is a view pgsql=> Bruce Momjian 1998-10-02 21:53:39 +00:00
  • 2da5e598e6 Obsolete information completely superceded by the sgml sources. These weren't really "man page"-ish anyway, and I've verified that all information in them has moved to the newer sources. Thomas G. Lockhart 1998-10-02 16:46:34 +00:00
  • 9601964773 Surround all identifiers with double quotes. Formerly did so only for those which clearly required it, but that would still miss things like reserved key words which also require it. Implement the "-n" switch to revert the double quote behavior to put DQs only where there is more than lower-case, digits, and underscores. Thomas G. Lockhart 1998-10-02 16:43:41 +00:00
  • f93b6974f9 Here's a combination of all the patches I'm currently waiting for against a just updated CVS tree. It contains Bruce Momjian 1998-10-02 16:28:04 +00:00
  • 9b21a18cee the following little patch adds array references to query parameters. With it applied a function like Bruce Momjian 1998-10-02 16:23:07 +00:00
  • 772a596ed2 Summary Bruce Momjian 1998-10-02 16:18:20 +00:00
  • 9b7c6ee00b Fixes for Irix from Robert Bruccoleri Bruce Momjian 1998-10-02 15:38:04 +00:00
  • 731ea8076f Here's the new diff for getting the NS32K assembly code into the spin-locks. Notice that it's now inline assembler in s_lock.h, rather than seperate code in s_lock.c. It also shrank a little bit... Just rip out the S_LOCK() define and insert the tas() inline function. Please let me know if there are any problems with it. Bruce Momjian 1998-10-02 15:23:08 +00:00
  • 744c3cd271 regproc cleanups Bruce Momjian 1998-10-02 05:31:28 +00:00
  • 290428dd30 Fix for regproc so proc name can be supplied if unique, if not, oid. Bruce Momjian 1998-10-02 05:10:11 +00:00
  • 820f9f8be8 Fix potential coredump in pg_conndefaults (assigning constant string to a field that will get free'd). Also make it robust in cases where values contain Tcl special characters. Tom Lane 1998-10-02 01:37:17 +00:00
  • 3f2fff5c5d Search contrib/tcl for tcl startup. Bruce Momjian 1998-10-02 01:22:43 +00:00
  • e12f4162c3 Clean up some minor bugs concerning what was inside the main loop and what wasn't. Also try to improve the comments so that doesn't happen again. Changed SIGPIPE handling to SIG_IGN so that if frontend quits, we will finish out the current command and return to main loop before quitting. This seems much safer than a forced abort mid-command. Tom Lane 1998-10-02 01:14:14 +00:00
  • c17b2d1b16 Fix for constbyval. Bruce Momjian 1998-10-01 22:51:22 +00:00
  • 33572dd7ed Fix for constbyval . Bruce Momjian 1998-10-01 22:45:32 +00:00
  • 2074b5f1ad failed to add some of Jan's files :( Marc G. Fournier 1998-10-01 03:38:45 +00:00
  • d33bbb5b1f Get rid of some long-dead code that thinks NOTIFY is passed to the planner/optimizer/executor. It isn't. Besides, most of the removed code consists of comments about how it's not right. Tom Lane 1998-10-01 02:04:01 +00:00
  • 92edd4233e Make HP-PA S_UNLOCK a little faster and less dependent on unspecified compiler codegen details. Make default S_LOCK macro more robust against syntax mistakes. (I cleared these changes with David Gould a few days ago.) Tom Lane 1998-10-01 01:53:50 +00:00
  • 0d1aa5ac52 pg_dump -z was careless about ownership of indexes. Now it's a little less so. Tom Lane 1998-10-01 01:49:12 +00:00
  • f447344003 Simplify pg_result by using new libpq PQresultErrorMessage; fix some memory leaks in pg_select. Tom Lane 1998-10-01 01:45:38 +00:00
  • 6428074e27 Update libpq to store an error message in PGresult, per pgsq-interfaces discussion of 21-Sep. Tom Lane 1998-10-01 01:40:26 +00:00
  • 502769d0de Change HPUX loader flags to trap null pointer derefs Tom Lane 1998-10-01 01:26:45 +00:00
  • 9bb7096bcd Update to track newest gram.y. Thomas G. Lockhart 1998-09-30 05:48:28 +00:00
  • c683abb1f0 Add as many keywords as possible to column identifier or label lists. Add "timestamp" to list of tokens in keywords.c. Before, TIMESTAMP WITH TIME ZONE did not actually parser. Reorder token lists to be more alphabetical. Remove ARCHIVE keyword which was deprecated in v6.3. Thomas G. Lockhart 1998-09-30 05:47:57 +00:00
  • 96273049e9 Message changed slightly since "rename" is now allowed as a column name. Thomas G. Lockhart 1998-09-30 05:43:23 +00:00
  • 2d73585028 Clean up pages. Add information for operator precedence. Split introduction sections into separate files to allow the legal notice and notation sections appear in all documents without having the history show up everplace too. Add full list of reserved and non-reserved key words in syntax.sgml. Add a separate chapter to the admin guide on security. Thomas G. Lockhart 1998-09-30 05:41:54 +00:00
  • d1a3b7528d Add new SQL reference page and the first utility/app reference page converted from the man page. Thomas G. Lockhart 1998-09-30 05:38:56 +00:00
  • 44e01bf992 From: Jan Wieck <jwieck@debis.com> Marc G. Fournier 1998-09-29 12:43:05 +00:00
  • 376fbadbd2 pgsql_perl5-1.8.0 Edmund Mergl 1998-09-27 19:12:35 +00:00
  • bd041d82bf multi-byte fix from Tatsuo Ishii Bruce Momjian 1998-09-25 15:51:02 +00:00
  • d73f73af6e Add new Makefile from Jan. Bruce Momjian 1998-09-25 15:50:02 +00:00
  • 734d44988a Bracket filename in LOAD error message with single quotes to clarify actual path used. Thomas G. Lockhart 1998-09-25 13:47:27 +00:00
  • d76b4069ad Update to track gram.y. Had removed PARSEDEBUG statements... Thomas G. Lockhart 1998-09-25 13:45:12 +00:00
  • f8b6b5f14f Cleanup markup and minor editing to prepare for first release. Thomas G. Lockhart 1998-09-25 13:42:46 +00:00
  • dcff8232c1 Include the graphics directory in build lookup path. Thomas G. Lockhart 1998-09-25 13:41:25 +00:00
  • 4327a3675f Clean up existing debugging print statements. Modify comment blocks to insulate from pgindent. Thomas G. Lockhart 1998-09-25 13:38:32 +00:00
  • ee88006cf2 Clean up code in analyze.c for SERIAL data type. Remove _all_ PARSEDEBUG print statements. Thomas G. Lockhart 1998-09-25 13:36:08 +00:00
  • 2df1465757 Fix comment for regproc. Bruce Momjian 1998-09-25 03:36:33 +00:00
  • f52e7346ea MB patches from Tatsuo Ishii Bruce Momjian 1998-09-25 01:46:25 +00:00
  • 31fea9777f Fix for datetime from Tatsuo Ishii Bruce Momjian 1998-09-23 17:51:46 +00:00
  • b9f16535a4 Fix for oidArray from Christopher Oliver. Bruce Momjian 1998-09-23 17:50:12 +00:00
  • b932b1b1c4 Allow 8-key indexes. Bruce Momjian 1998-09-23 04:22:14 +00:00
  • 747e19aa6c Add in, I think, support for %lld in snprintf(), specifically with Irix in mind... Marc G. Fournier 1998-09-23 03:11:24 +00:00
  • 3ce8a1b4ba Fix for SELECT NOT boolfield FROM table Bruce Momjian 1998-09-22 21:48:27 +00:00
  • a3c5a3cb2f Cleanup for oid8[] from Tatsuo Ishii. Bruce Momjian 1998-09-22 20:28:15 +00:00
  • 738dc876ed Here are some patches to fix up the regression tests so that the union test passes. Interestingly, the fix involves no changes or special cases in the union test and actually removes a special case for the numerology test. Thus, following the strategy outlined below is a definite improvement over the previous situation. Bruce Momjian 1998-09-22 16:52:59 +00:00
  • ba0abfdecc Add .h to string include. Bruce Momjian 1998-09-22 16:41:19 +00:00
  • 52ca2ab268 Editing and markup cleanup. Thomas G. Lockhart 1998-09-22 15:48:03 +00:00
  • 748e300317 Fix for AND/OR handling. Bruce Momjian 1998-09-21 15:41:28 +00:00
  • 06b8c8a8b8 From: Michael Meskes <meskes@usa.net> Marc G. Fournier 1998-09-21 05:55:23 +00:00