Commit Graph

  • 9e73ab4965 Add: Bruce Momjian 2003-08-08 20:31:26 +00:00
  • 3b2440ebec Remove simple_prompt from /contrib C files, now that it is in /port. Bruce Momjian 2003-08-08 20:20:49 +00:00
  • 635d00ecea Avoid malloc(0). Although standard mallocs seem not to object, some debugging malloc packages do. Tom Lane 2003-08-08 19:19:32 +00:00
  • 332c694085 Fix nasty little order-of-operations bug in _SPI_cursor_operation. Per report from Mendola Gaetano. Tom Lane 2003-08-08 19:18:21 +00:00
  • 4ae02fd03e Update: Bruce Momjian 2003-08-08 18:55:35 +00:00
  • 360162b172 Remove, no in /port. Bruce Momjian 2003-08-08 18:43:49 +00:00
  • b1504b6085 Update. Bruce Momjian 2003-08-08 18:36:34 +00:00
  • 8d74e178d2 Update items. Bruce Momjian 2003-08-08 17:17:17 +00:00
  • 6abde4d803 Update as done: Bruce Momjian 2003-08-08 17:13:02 +00:00
  • d58b01a516 Not needed anymore. Bruce Momjian 2003-08-08 17:05:11 +00:00
  • e4c38da4de Done: Bruce Momjian 2003-08-08 16:34:40 +00:00
  • 22bd88ba35 Remove: Bruce Momjian 2003-08-08 16:33:35 +00:00
  • 6a991845a3 sprompt not needed in libpq. Bruce Momjian 2003-08-08 16:32:45 +00:00
  • efbc85c209 Conversion functions must be STRICT to prevent them from getting null inputs. Tom Lane 2003-08-08 15:49:10 +00:00
  • 870886affe Suppress unused-variable warnings when building without Asserts. Tom Lane 2003-08-08 14:39:45 +00:00
  • f65643771b Conversion functions must be STRICT to prevent them from getting null inputs. Tom Lane 2003-08-08 14:31:12 +00:00
  • fbf1fd2650 Fix null checking of type decimal datums without indicator in Informix mode. Peter Eisentraut 2003-08-08 13:17:58 +00:00
  • e39bc695d6 Be a little bit more careful about using sqlstate, in case libpq returned NULL for it. Peter Eisentraut 2003-08-08 13:16:20 +00:00
  • 0bf70870db Translation updates by Dennis Björklund Peter Eisentraut 2003-08-08 11:03:29 +00:00
  • acbef53d1f Remove postgres_ext.h inclusion -- not necessary. Peter Eisentraut 2003-08-08 10:43:54 +00:00
  • 63c4d156e0 Move simple_prompt()/sprompt.c into /port. Bruce Momjian 2003-08-08 04:52:22 +00:00
  • 522b4937b3 Makefile cleanup. Bruce Momjian 2003-08-08 03:22:24 +00:00
  • 48af71423d Cleanup. Bruce Momjian 2003-08-08 03:18:40 +00:00
  • 71b9be4d56 Typo cleanup. Bruce Momjian 2003-08-08 03:09:56 +00:00
  • 86b07104dd Makefile cleanup. Bruce Momjian 2003-08-08 03:03:54 +00:00
  • ba0d38fd89 More thread.c cleanup. Bruce Momjian 2003-08-08 03:00:31 +00:00
  • 30c63f460a More threading cleanups. Bruce Momjian 2003-08-08 02:55:08 +00:00
  • e8dd31701b more thread.c consistency. Bruce Momjian 2003-08-08 02:48:24 +00:00
  • e4cbb982b0 threads.c -> thread.c, be consistent. Bruce Momjian 2003-08-08 02:46:40 +00:00
  • 80ed63952b Update done items: Bruce Momjian 2003-08-08 02:00:20 +00:00
  • cce40d15d5 Remove space between function name and opening paren in pg_dump, for clarity. Bruce Momjian 2003-08-08 01:21:02 +00:00
  • 60356aa76d No need for TODO.detail error. Bruce Momjian 2003-08-08 00:28:26 +00:00
  • f2b6bb42ab Fix floating-point timestamp comparisons to not go nuts if NaN is encountered; per bug report from Christian van der Leeden 8/7/03. Also, adjust larger/smaller routines (MAX/MIN) to share code with comparisons for timestamp, interval, timetz. Tom Lane 2003-08-08 00:10:31 +00:00
  • e060701f51 Clean up function header. Bruce Momjian 2003-08-07 23:43:32 +00:00
  • 31773533bd Fix typo. Tom Lane 2003-08-07 21:38:55 +00:00
  • 33ab177a56 Don't assume that struct option is available just because we can find a getopt_long(). This is more or less the same problem as we saw earlier with getaddrinfo() and struct addrinfo, and for the same reason: random user-added libraries might contain the subroutine, but there's no guarantee we will find the matching header files. Tom Lane 2003-08-07 21:11:58 +00:00
  • fea2ffa7d8 SCO_ACCEPT_BUG code didn't get updated for new SockAddr struct definition. Tom Lane 2003-08-07 19:37:13 +00:00
  • ecbed6e1b9 create_unique_plan() should not discard existing output columns of the subplan it starts with, as they may be needed at upper join levels. See comments added to code for the non-obvious reason why. Per bug report from Robert Creager. Tom Lane 2003-08-07 19:20:24 +00:00
  • 8ba1fa7db1 Backport to 7.3. Third try to fix the sql injection vulnerability. This fix completely removes the ability (hack) of being able to bind a list of values in an in clause. It was demonstrated that by allowing that functionality you open up the possibility for certain types of sql injection attacks. The previous fix attempts all focused on preventing the insertion of additional sql statements (the semi-colon problem: xxx; any new sql statement here). But that still left the ability to change the where clause on the current statement or perform a subselect which can circumvent applicaiton security logic and/or allow you to call any stored function. Barry Lind 2003-08-07 17:56:27 +00:00
  • d862045dfc Don't use HAVE_STRUCT_ADDRINFO as a guide to whether netdb.h defines macros like AI_NUMERICHOST; instead, test the macros individually. Should fix recent reports of trouble on AIX and Unixware. Tom Lane 2003-08-07 16:45:21 +00:00
  • d8295603c8 Make table column type TEXT. Bruce Momjian 2003-08-07 16:37:31 +00:00
  • 697f9f09ed Add iteration option to thread test program. Bruce Momjian 2003-08-07 16:14:03 +00:00
  • c7fda55cc6 Update pgindent readme. Bruce Momjian 2003-08-07 15:02:43 +00:00
  • b830e933c0 Remove unnecessary use of multiple cat processes to feed psql; this reduces the number of concurrent processes launched during parallel regression tests, possibly avoiding failures such as exceeding a user's max number of processes. This essentially completes the reversion of 1.27->1.28. Tom Lane 2003-08-07 14:36:31 +00:00
  • 2bc092d2f2 Move dollar sign items to object section. Bruce Momjian 2003-08-07 14:12:50 +00:00
  • 78154363f9 Update typedef names for pgindent 7.4. Bruce Momjian 2003-08-07 05:18:14 +00:00
  • 00c11039d4 Update ecpg thread testing program to be more automated. Bruce Momjian 2003-08-07 05:12:00 +00:00
  • 9c6d5495b9 markup fixes Barry Lind 2003-08-07 05:06:40 +00:00
  • 042221db83 Include postgres_ext.h instead of postgres_fe.h. This allows ecpg output C files to proper compile again. Bruce Momjian 2003-08-07 04:44:26 +00:00
  • 90562b1135 Noticed broken markup in ecpg.sgml. Attached patch fixes it. Please apply. Bruce Momjian 2003-08-07 04:17:21 +00:00
  • df5a58811b Add -lm for ecpg/pgtypeslib/Makefile link so -lm isn't required for ecpg compiles. Bruce Momjian 2003-08-07 04:03:18 +00:00
  • acf09c64b0 Sometimes the third time is the charm. Third try to fix the sql injection vulnerability. This fix completely removes the ability (hack) of being able to bind a list of values in an in clause. It was demonstrated that by allowing that functionality you open up the possibility for certain types of sql injection attacks. The previous fix attempts all focused on preventing the insertion of additional sql statements (the semi-colon problem: xxx; any new sql statement here). But that still left the ability to change the where clause on the current statement or perform a subselect which can circumvent applicaiton security logic and/or allow you to call any stored function. Barry Lind 2003-08-07 04:03:13 +00:00
  • f0f137599a Update release items from Tom. Bruce Momjian 2003-08-07 03:59:25 +00:00
  • 1d1df53f82 Applied doc patch for the jdbc docs submitted by Nic Ferrier for functionality he supplied a few months ago, but didn't get around to docing until now. And he also added some doc for calling stored functions in general from jdbc that was missing. Barry Lind 2003-08-06 23:50:19 +00:00
  • 3efb2af4b6 Add: Bruce Momjian 2003-08-06 23:36:02 +00:00
  • 338aa57be0 Rename fields of DestReceiver to avoid collisions with (ill-considered) macros in some platforms' sys/socket.h. Tom Lane 2003-08-06 17:46:46 +00:00
  • d5f7d2c682 Adopt a random backoff algorithm for sleep delays when waiting for a spinlock. Per recent pghackers discussion. Tom Lane 2003-08-06 16:43:43 +00:00
  • a6672880e1 Fix compiler-detected problem for Alphas: it seems strlen returns something wider than int on that platform. Also, remove bogus assumption that sizeof("INT_MAX") has something to do with the maximum number of digits in an int. Tom Lane 2003-08-06 15:54:06 +00:00
  • 8753157739 OpenFTS vs Tsearch2 comment Teodor Sigaev 2003-08-06 14:53:01 +00:00
  • d702313f0d Add documentation about ts_debug Teodor Sigaev 2003-08-06 09:41:13 +00:00
  • dd2870f76f Add ts_debug function for debugging configurations Teodor Sigaev 2003-08-06 09:19:21 +00:00
  • 11e9dcc549 Applied patch from kho@redhat.com to fix a problem with trying to use a fetch when a cursor wasn't being used. Barry Lind 2003-08-06 05:53:13 +00:00
  • 149f01c4d4 Add ecpg thread testing file. Bruce Momjian 2003-08-06 02:19:51 +00:00
  • 630684d3a1 Improve documentation of ParseDateTime(). Reorder tests to prevent writing one more value into return arrays than will fit. This is potentially a stack smash, though I do not think it is a problem in current uses of the routine, since a failure return causes elog anyway. Tom Lane 2003-08-05 18:30:21 +00:00
  • 1b637d7cbe Fix several places where fractional-second inputs were misprocessed in HAVE_INT64_TIMESTAMP cases, including two potential stack smashes when more than six fractional digits were supplied. Per bug report from Philipp Reisner. Tom Lane 2003-08-05 17:39:36 +00:00
  • 9d41073f04 Fix several places where fractional-second inputs were misprocessed in HAVE_INT64_TIMESTAMP cases, including two potential stack smashes when more than six fractional digits were supplied. Per bug report from Philipp Reisner. Tom Lane 2003-08-05 17:39:19 +00:00
  • b6f31f08dd Modify: Bruce Momjian 2003-08-05 15:31:33 +00:00
  • 0b532c944b Remove Tom mention on array items. Bruce Momjian 2003-08-05 15:04:16 +00:00
  • ad2068c2cb Add mention of :00 seconds. Bruce Momjian 2003-08-05 14:37:49 +00:00
  • 8bf7fffeea Update thread wording. Bruce Momjian 2003-08-05 14:35:12 +00:00
  • abb69fbf49 Modify tsearch2 to be Oleg,Teodor Bruce Momjian 2003-08-05 14:33:30 +00:00
  • e7e73980e2 Add tsearch2 mention. Bruce Momjian 2003-08-05 05:07:50 +00:00
  • 1875eb38f4 Add Philip Yarra to threads item, remove my name. Bruce Momjian 2003-08-05 05:04:50 +00:00
  • c6a27e0e7c Update release items from Joe Conway. Bruce Momjian 2003-08-05 05:01:50 +00:00
  • 5b1b5f072d can't mix and match .gz and .bz2 in here ... won't build REL7_4_BETA1 PostgreSQL Daemon 2003-08-05 04:55:58 +00:00
  • 1544c8215a seeing if building bz2 distributions actually works ... PostgreSQL Daemon 2003-08-05 04:40:29 +00:00
  • 56a84dc143 remove src/data from target list PostgreSQL Daemon 2003-08-05 04:18:51 +00:00
  • bb31c715be Remove MOVE ALL item. Bruce Momjian 2003-08-05 03:30:35 +00:00
  • 2f9c859ea1 Fix some copyright notices that weren't updated. Improve copyright tool so it won't miss 'em again. Tom Lane 2003-08-04 23:59:41 +00:00
  • d10146c067 change tag to 7.4beta1 and update the Copyright to 2003 PostgreSQL Daemon 2003-08-04 22:30:30 +00:00
  • 77489f4523 Update vacuumlo to be properly schema-aware. Improve documentation. Tom Lane 2003-08-04 22:03:39 +00:00
  • 98bf004421 Re-add USE_THREADS, used by ecpg. Bruce Momjian 2003-08-04 21:26:26 +00:00
  • c45b851e37 Fix erroneous direct reference to postgres.tar.gz, per bug report from Garrick Staples. Tom Lane 2003-08-04 20:52:48 +00:00
  • 3b29525a79 Sub-Makefiles need to explicitly add CFLAGS_SL to CFLAGS, else their object files do not get built with -fpic. Tom Lane 2003-08-04 20:34:26 +00:00
  • f237a80d8a Fix to build correctly outside source tree. Tom Lane 2003-08-04 19:52:37 +00:00
  • 17d6721e0b Must print server's failure message before trying reconnect, not after. Tom Lane 2003-08-04 19:10:40 +00:00
  • e627dd2db9 Fix pltcl and plpython to support STATEMENT triggers. Tom Lane 2003-08-04 18:40:50 +00:00
  • d1f35b73ac SSL_read/SSL_write do not approximate the return conventions of recv() and send() very well at all; and in any case we can't use retval==0 for EOF due to race conditions. Make the same fixes in the backend as are required in libpq. Tom Lane 2003-08-04 17:58:25 +00:00
  • e8e1d4553c SSL_read/SSL_write do not approximate the return conventions of recv() and send() very well at all; and in any case we can't use retval==0 for EOF due to race conditions. Make the same fixes in the backend as are required in libpq. Tom Lane 2003-08-04 17:58:14 +00:00
  • 5365a0cf52 Fix some more problems with testing error returns from SSL. Tom Lane 2003-08-04 17:25:29 +00:00
  • 39a9496d51 Fix some more problems with testing error returns from SSL. Tom Lane 2003-08-04 17:25:14 +00:00
  • 5c15cb4752 Fix thread handling in configure. Bruce Momjian 2003-08-04 16:48:03 +00:00
  • 963c1fa9d3 Minor cleanups in S_LOCK_TEST code. Tom Lane 2003-08-04 15:28:33 +00:00
  • 5f6401e2a2 HPUX's horology behavior is OS-dependent, not hardware-dependent. Tom Lane 2003-08-04 15:06:45 +00:00
  • d6f0f44b55 make sub-Makefiles in the sub-directories Teodor Sigaev 2003-08-04 14:54:47 +00:00
  • 8405e505c4 Docs fixes Teodor Sigaev 2003-08-04 14:11:08 +00:00
  • fb19e2f41d Translation updates Peter Eisentraut 2003-08-04 14:01:37 +00:00
  • 3766e99c41 Add a note that AND and OR are commutative. Apparently, they are not in certain other products. Peter Eisentraut 2003-08-04 14:00:14 +00:00
  • 4c3c8c048d Remove --enable-recode feature, since it's been broken by IPv6 changes, and seems to have too few users to justify maintaining. Tom Lane 2003-08-04 04:03:10 +00:00
  • f3c3deb7d0 Update copyrights to 2003. Bruce Momjian 2003-08-04 02:40:20 +00:00