Commit Graph

  • 6d46ea25f2 Add one more byte to malloc for null storage. Bruce Momjian 2004-10-07 17:29:12 +00:00
  • 9fb5c757b8 Remove unneeded dash. Bruce Momjian 2004-10-07 17:04:54 +00:00
  • 00f184a83f Update comment to fix nibble mention: Bruce Momjian 2004-10-07 17:03:50 +00:00
  • d1cee5495a Escape single quotes and backslashes used in locales placed in postgresql.conf. Bruce Momjian 2004-10-07 16:53:25 +00:00
  • 2b8fab842b Prevent install error message when doing cmp on empty tree. Bruce Momjian 2004-10-07 16:23:28 +00:00
  • a5d7ba773d Adjust comments previously moved to column 1 by pgident. Bruce Momjian 2004-10-07 15:21:58 +00:00
  • 9da50e1f53 Back out unindented modification to file. Bruce Momjian 2004-10-07 14:19:58 +00:00
  • cdc84adbdb Indent comment pushed to new line by else so it is indented by BSD indent. Bruce Momjian 2004-10-07 14:15:50 +00:00
  • 914ff1ea3c Add as binary mode Bruce Momjian 2004-10-07 13:59:45 +00:00
  • 70d344d61d re-add as binary Bruce Momjian 2004-10-07 13:59:20 +00:00
  • 8a28f50f8a Improve pgindent processing of comment after 'else'. Improve comment of pg_dump Win32 link workaround. Bruce Momjian 2004-10-07 13:45:51 +00:00
  • 4e28b08e53 Improve comment after 'else' handling of pgindent. Bruce Momjian 2004-10-07 02:32:06 +00:00
  • 0683a47556 Allow the spinlock test to be compiled successfully in a vpath build. Neil Conway 2004-10-07 00:08:04 +00:00
  • 52a45818a1 XOR process PID into a backend's initial random seed, to ensure that different backends get a reasonably wide set of initial seeds even if gettimeofday returns tv_usec values with only a few bits of precision. Per recent discussion. Tom Lane 2004-10-07 00:03:15 +00:00
  • f629583f94 Document what the "rep; nop" x86 assembler sequence is actually equivalent to, and what it is intended to do. Neil Conway 2004-10-06 23:41:59 +00:00
  • 3ba0fc760c Capitalize some SQL keywords the previous commit missed, for consistency. Neil Conway 2004-10-06 23:31:45 +00:00
  • d7e0ebdf8e Say "history is not supported" and remove "on this platform" for lack of readline. Bruce Momjian 2004-10-06 19:04:10 +00:00
  • c62a5465fb Suppress psql \s help display for platforms like Win32 that don't typically install witn readline, and throw an error if they try to access it. Bruce Momjian 2004-10-06 18:39:16 +00:00
  • 94954c7f6a Add mention of win32ver.rc for update for minor release. Bruce Momjian 2004-10-06 18:15:24 +00:00
  • aa20badeaf Fix improper defines for uid_t and gid_t. Had them backwards. Bruce Momjian 2004-10-06 17:47:53 +00:00
  • a95a82e7f0 Uppercase SQL keywords in query for clarity. Bruce Momjian 2004-10-06 17:43:07 +00:00
  • d7b7a4a648 This simple patch fixes a typo, ensure pg_config is removed in win32 and correct some splitted message mistake. Bruce Momjian 2004-10-06 17:21:45 +00:00
  • dedb53f29c Fix pg_dumpall to use double-quote for Win32 arguments. Bruce Momjian 2004-10-06 17:02:02 +00:00
  • 48018da7ce The Win32 (mingw) build of libpq seems to have lost it's SSL libs from the link step resulting in a build failure. The attached patch fixes that. Bruce Momjian 2004-10-06 16:42:01 +00:00
  • 87ea6f0dbe Use #define instead of typedef for plperl because perl defines uid_t/gid_t too. Bruce Momjian 2004-10-06 16:36:02 +00:00
  • afa66ff3d3 Update win32ver.rc to 8,0,000,000. Mention it needs updating in RELEASE_CHANGES. Bruce Momjian 2004-10-06 15:23:27 +00:00
  • 7d3d5affda Improve consistency of win32 version sed script. Bruce Momjian 2004-10-06 15:14:13 +00:00
  • e6470a22b7 Fix for Win32 file version sed macro, per report from Dave Page. Bruce Momjian 2004-10-06 15:12:32 +00:00
  • 902ca3e225 Here is a patch to fix win32 ssl builds. Summary of changes: Bruce Momjian 2004-10-06 09:35:23 +00:00
  • 5431393274 Allow plpython to build on Win32. Bruce Momjian 2004-10-06 09:20:41 +00:00
  • 4542581bf1 Adjustment to test on unix domain socket variable for pg_hba.conf default settings, rather than just Win32. Bruce Momjian 2004-10-06 09:13:10 +00:00
  • c93872d891 Remove pg_hba.conf 'local' line for Win32 because it doesn't support unix domain connections. Bruce Momjian 2004-10-06 09:01:18 +00:00
  • 513e89b44b please find attached an alternate submission which addresses open item "make pgxs install by default". It is up to the committers to chose. Bruce Momjian 2004-10-06 08:50:02 +00:00
  • d42d427252 Slightly rearrange psql startup code so that we read psqlrc before printing the startup banner. This allows "\set QUIET on" in psqlrc to do what the user probably intended. Patch from Sean Chittenden, editorializing from Neil Conway. Neil Conway 2004-10-06 08:20:58 +00:00
  • da67c919d9 Add Win32 version info to client binaries. Bruce Momjian 2004-10-05 19:30:25 +00:00
  • abef6b5162 Add distclean target to pgevent. Bruce Momjian 2004-10-05 17:26:39 +00:00
  • a992bd8c6d Another tightening of Win32 typedefs. Bruce Momjian 2004-10-05 15:09:41 +00:00
  • 4d47db363b Fix typo in recent Win32 typedef change. Bruce Momjian 2004-10-05 14:27:07 +00:00
  • 2def476de3 Remove unused Win32 defines, convert them to typdefs, per suggestion from Peter. Bruce Momjian 2004-10-05 13:48:35 +00:00
  • 3ff8e83231 '::' is no longer interpreted as a variable in a prepare statement. Michael Meskes 2004-10-05 10:48:45 +00:00
  • a79f8195de '::' is no longer interpreted as a variable in a prepare statement. Michael Meskes 2004-10-05 10:48:37 +00:00
  • 125bb6cee4 Pickup fix from upstream OpenBSD sources: mark a read-only local array as "static" to reduce size of generated code slightly. Neil Conway 2004-10-05 00:14:45 +00:00
  • af7849f184 License cleanup: crypt.c and qsort.c to latest NetBSD CVS sources, to pickup license clarification (3-clause BSD is now used). Add license terms to memcmp.c (also from NetBSD), which previously had none. Finally, pickup an upstream fix to crypt.c (const-ify some arrays). Neil Conway 2004-10-05 00:12:49 +00:00
  • 1b7f214071 Refer to ll_to_earth() function by its actual name. Tom Lane 2004-10-04 22:52:47 +00:00
  • 6c61af6654 Remove arithmetic operators on the 1-byte-char datatype, as per proposals made several times in the past. Add coercion functions between "char" and integer so that a workaround is possible if needed. Tom Lane 2004-10-04 22:49:59 +00:00
  • 1ab415596d Correct the volatility labeling of ten timestamp-related functions, per discussion from Friday. initdb not forced in this commit but I intend to do that later. Tom Lane 2004-10-04 22:13:14 +00:00
  • 4c77cbb272 PortalRun must guard against the possibility that the portal it's running contains VACUUM or a similar command that will internally start and commit transactions. In such a case, the original caller values of CurrentMemoryContext and CurrentResourceOwner will point to objects that will be destroyed by the internal commit. We must restore these pointers to point to the newly-manufactured transaction context and resource owner, rather than possibly pointing to deleted memory. Also tweak xact.c so that AbortTransaction and AbortSubTransaction forcibly restore a sane value for CurrentResourceOwner, much as they have always done for CurrentMemoryContext. I'm not certain this is necessary but I'm feeling paranoid today. Responds to Sean Chittenden's bug report of 4-Oct. Tom Lane 2004-10-04 21:52:15 +00:00
  • ee7de3d662 Make sure no libs use libpgport by removing it from the link line. Bruce Momjian 2004-10-04 20:36:12 +00:00
  • 2e8252d67a Fix MinGW link failure with new libpgport processing. Bruce Momjian 2004-10-04 20:32:58 +00:00
  • 314cef0f12 Update comment on int64 printf speciifications for MinGW: Bruce Momjian 2004-10-04 18:14:18 +00:00
  • b5ddfb4bd0 Readd -DFRONTEND to client makefiles because it still affects win32.h defines. Bruce Momjian 2004-10-04 18:05:55 +00:00
  • 0ac4ced0b9 Add CVS URL for docs. Bruce Momjian 2004-10-04 15:29:41 +00:00
  • 63dabb39cd Fix warnings from crypt.c compile. Bruce Momjian 2004-10-04 15:17:17 +00:00
  • f95ff4b978 Comment out unused variable. Bruce Momjian 2004-10-04 15:09:27 +00:00
  • 9a31c9b7b8 Suppress getppid test on WIN32, per Dave Page. Tom Lane 2004-10-04 14:55:17 +00:00
  • 4171bb869f Detect overflow in integer arithmetic operators (integer, smallint, and bigint variants). Clean up some inconsistencies in error message wording. Fix scanint8 to allow trailing whitespace in INT64_MIN case. Update int8-exp-three-digits.out, which seems to have been ignored by the last couple of people to modify the int8 regression test, and remove int8-exp-three-digits-win32.out which is thereby exposed as redundant. Tom Lane 2004-10-04 14:42:48 +00:00
  • 24201b4bc6 Make libpgport be front-end only and make libpgport_srv be a backend library that uses palloc, ereport, etc. This simplifies the makefiles for client applications. Bruce Momjian 2004-10-04 13:43:59 +00:00
  • 3da69bd18c Fix error in setseed() docs: "int32" is not a (SQL) type, but "integer" is. Neil Conway 2004-10-04 08:15:41 +00:00
  • e374dfc119 Document that the semicolon following the final "END" in a function body is optional. Neil Conway 2004-10-04 05:42:18 +00:00
  • 8d5ff6bad1 Translation update Peter Eisentraut 2004-10-03 20:29:24 +00:00
  • 0654f0f669 Translation updates Peter Eisentraut 2004-10-03 20:24:26 +00:00
  • b3c4d69852 Add regression test inspired by Sebastian Böck. Tom Lane 2004-10-03 00:13:29 +00:00
  • 47aa95e951 Clean up handling of inherited-table update queries, per bug report from Sebastian Böck. The fix involves being more consistent about when rangetable entries are copied or modified. Someday we really need to fix this stuff to not scribble on its input data structures in the first place... Tom Lane 2004-10-02 22:39:49 +00:00
  • 19241421f2 Update Farsi FAQ in ASCII. Bruce Momjian 2004-10-02 08:19:43 +00:00
  • b3f2b19218 Update length from 75 to 79. Bruce Momjian 2004-10-02 01:10:58 +00:00
  • 0ed57c310c Convert pg_stat_get_backend_idset to use the existing SRF support. This seems the cleanest way of fixing its lack of a shutdown callback, which was preventing it from working correctly in a query that didn't run it to completion. Per bug report from Szima GÄbor. Tom Lane 2004-10-01 21:09:46 +00:00
  • 125bf342fd Convert pg_stat_get_backend_idset to use the existing SRF support. This seems the cleanest way of fixing its lack of a shutdown callback, which was preventing it from working correctly in a query that didn't run it to completion. Per bug report from Szima GÄbor. Tom Lane 2004-10-01 21:03:42 +00:00
  • b62aa83f0e fmgr_security_definer had better do a PG_TRY to ensure the outer userid is restored on error exit. Tom Lane 2004-10-01 20:39:54 +00:00
  • c8196c87a7 Adjust postmaster to recognize that a lockfile containing its parent's PID must be stale. Tweak example startup scripts to not use pg_ctl but launch the postmaster directly, thereby ensuring that only the postmaster's direct parent shell will be a postgres-owned process. In combination these should fix the longstanding problem of the postmaster sometimes refusing to start during reboot because it thinks the old lockfile is not stale. Tom Lane 2004-10-01 18:30:25 +00:00
  • 8bbfa16624 Don't assume PQdb() will return a valid result from a failed connection. Tom Lane 2004-10-01 17:34:19 +00:00
  • bbd1e1cc68 Don't assume PQdb() will return a valid result from a failed connection. Tom Lane 2004-10-01 17:25:55 +00:00
  • b1f8a37aa7 Fallout from changing index locking rules: we can reduce the strength of locking used by REINDEX. REINDEX needs only ShareLock on the parent table, same as CREATE INDEX, plus an exclusive lock on the specific index being processed. Tom Lane 2004-10-01 17:11:50 +00:00
  • 4c5e810fcd Code review for NOWAIT patch: downgrade NOWAIT from fully reserved keyword to unreserved keyword, use ereport not elog, assign a separate error code for 'could not obtain lock' so that applications will be able to detect that case cleanly. Tom Lane 2004-10-01 16:40:05 +00:00
  • 392b187a21 Remove DROPs from contrib object creation scripts, per Dave Page. Tom Lane 2004-10-01 15:43:40 +00:00
  • b3f2f6ebec Use 'override' when appending text to LDFLAGS, so the build doesn't break if the user has defined LDFLAGS themselves. Neil Conway 2004-10-01 02:06:52 +00:00
  • 3738510c2c Remove more traces of libpgtcl from the source tree. Also, make some semi-related SGML cleanup. Original patch from ljb220@mindspring.com, additional cleanup by Neil Conway. Neil Conway 2004-10-01 02:00:44 +00:00
  • d2af5f8a3e Adjust index locking rules as per my proposal of earlier today. You now are supposed to take some kind of lock on an index whenever you are going to access the index contents, rather than relying only on a lock on the parent table. Tom Lane 2004-09-30 23:21:26 +00:00
  • d674884306 Add variant regression file to handle machines that convert -1e-700 to minus zero rather than zero; this includes at least Mac OS X 10.3 and Solaris 2.8. Tom Lane 2004-09-30 21:12:45 +00:00
  • abc6441d60 Remove unnecessary use of index_open just to get the index name. Tom Lane 2004-09-30 17:42:42 +00:00
  • bb6a78829e isinf.c needs <float.h> on some platforms, per Darcy Buskermolen. Tom Lane 2004-09-30 16:38:39 +00:00
  • 1817706fba Add a note suggesting that users should use the newer version of pg_dump to perform upgrades, and cleanup some nearby text. Patch from Robert Treat, editorializing by Neil Conway. Neil Conway 2004-09-30 10:30:10 +00:00
  • 3300707d01 Add more index entries for reference pages related to prepare queries. From Alvaro Herrera, editorializing by Neil Conway. Neil Conway 2004-09-30 04:23:27 +00:00
  • 9781d0ed06 Update Brazilian FAQ. Bruce Momjian 2004-09-30 03:50:34 +00:00
  • bd90ebdbce Add an index entry for tablespaces. From Kris Jurka. Neil Conway 2004-09-30 02:40:23 +00:00
  • f065957062 Come to think of it, functions in FROM have the same syntactic restriction as CREATE INDEX did, and can be fixed the same way, for another small improvement in usability and reduction in grammar size. Tom Lane 2004-09-30 00:24:27 +00:00
  • 912c27f9c2 Split out everything that looks like a function call from c_expr into a separate production func_expr. This allows us to accept all these variants in the backwards-compatible syntax for creating a functional index; which beats documenting exactly which things work and which don't. Interestingly, it also seems to make the generated state machine a little bit smaller. Tom Lane 2004-09-29 23:39:20 +00:00
  • 2cda0395bd Add Farsi version of FAQ. Bruce Momjian 2004-09-29 16:23:16 +00:00
  • 0fb3152ea9 Minor adjustments to improve the accuracy of our computation of required shared memory size. Tom Lane 2004-09-29 15:15:56 +00:00
  • 1bb38bb4e5 Minor documentation improvement. Neil Conway 2004-09-29 06:27:11 +00:00
  • e7cb681618 Adjust obsolete comment about memory needs for lock table. Tom Lane 2004-09-28 21:19:30 +00:00
  • 3a246cc285 Arrange to preallocate all required space for the buffer and FSM hash tables in shared memory. This ensures that overflow of the lock table creates no long-lasting problems. Per discussion with Merlin Moncure. Tom Lane 2004-09-28 20:46:37 +00:00
  • d9b68c8061 Code review for recent dbsize changes. Fix some thinkos, enforce coding style and message style standards, improve documentation. Tom Lane 2004-09-28 19:35:43 +00:00
  • 70c8fcb287 An include path got missed out of the patch - see the attached fix. This also adds debug build support to src/bin/psql/win32.mak. Bruce Momjian 2004-09-28 16:17:26 +00:00
  • bb467563ec Fix typo in docs. Neil Conway 2004-09-28 10:18:22 +00:00
  • f7332e88b9 Remove duplicate PQclear(res) operations leading to double free() and subsequent core dump. It looks like at one time DBLINK_RES_ERROR_AS_NOTICE didn't include a PQclear, but now it does and so these other ones are duplicate. Tom Lane 2004-09-28 00:49:04 +00:00
  • 1ad6878276 Revert patch that removed BUFSIZ usage. The memory has to hold the structures plus pointers used by the structure. Bruce Momjian 2004-09-28 00:07:01 +00:00
  • dd67707a64 Small WIN32_CLIENT_ONLY cleanup for new build patch. Bruce Momjian 2004-09-27 23:58:09 +00:00
  • b534a5605f Remove use of large BUFSIZ for buffers and use the proper struct sizes. This greatly helps threaded libpq programs. Bruce Momjian 2004-09-27 23:39:14 +00:00
  • e1c8b37afb Add new macro as shorthand for MS VC and Borland C++: Bruce Momjian 2004-09-27 23:24:45 +00:00
  • e017051006 More MS VC and BCC psql compile cleanups. Bruce Momjian 2004-09-27 22:20:40 +00:00