Commit Graph

  • 06bfabc88e Fix version number for FreeBSD/alpha on ports list. Bruce Momjian 2002-11-14 14:51:38 +00:00
  • ac7c89e9bf Update ports list. Bruce Momjian 2002-11-14 14:24:26 +00:00
  • 3be0907de8 Update ports list. Bruce Momjian 2002-11-14 14:23:59 +00:00
  • 1a34e0e23b Backpatch from head: fixes for a threading bug, a problem with setNull involving server prepared statements and an improved error message Barry Lind 2002-11-14 05:54:39 +00:00
  • cfae07331c Applied patch submitted by Mats Lofkvist fixing serious threading problem introduced in beta3. Fixed bug with using setNull()(or setXXX(x, null)) and serverside prepare statements. Improved error message when using a connection object that has already been closed. Barry Lind 2002-11-14 05:35:45 +00:00
  • de7bb96eba Update ports list. Bruce Momjian 2002-11-14 04:59:39 +00:00
  • 4a57ef6826 Update ports list. Bruce Momjian 2002-11-14 04:59:15 +00:00
  • 0326dd76aa There was an error in the gcc portion of the patch I sent you. Here is the fix. Bruce Momjian 2002-11-14 04:07:27 +00:00
  • 99608b051d Update ports list. Bruce Momjian 2002-11-14 04:00:19 +00:00
  • db286699c6 Update ports list. Bruce Momjian 2002-11-14 03:59:46 +00:00
  • f2ec243389 Update German translations. Peter Eisentraut 2002-11-13 21:30:39 +00:00
  • b455344112 Allow +1300 as a numeric timezone specifier; we already accept FJST as meaning +1300. Tom Lane 2002-11-13 17:24:11 +00:00
  • 6fbe58ce79 Allow +1300 as a numeric timezone specifier; we already accept FJST as meaning +1300. Tom Lane 2002-11-13 17:24:05 +00:00
  • c11e948244 Use cat instead of echo or awk, to avoid portability problems with backslashes. Tom Lane 2002-11-13 16:40:29 +00:00
  • d45cfb4b0b Use cat instead of echo or awk, to avoid portability problems with backslashes. Tom Lane 2002-11-13 16:40:23 +00:00
  • 63e9734542 Update xact.c comments for clarity. Bruce Momjian 2002-11-13 03:12:05 +00:00
  • 34529aeb64 Add: Bruce Momjian 2002-11-13 02:10:26 +00:00
  • 4e5a947d1c Make MOVE/FETCH 0 actually move/fetch 0. Add MOVE LAST to move to end of cursor. Bruce Momjian 2002-11-13 00:44:09 +00:00
  • 9b12ab6d5d Add new palloc0 call as merge of palloc and MemSet(0). Bruce Momjian 2002-11-13 00:39:48 +00:00
  • aaa3a0caa6 Split MemSet into three parts to constant comparisons can be optimized away by the compiler; used by palloc0. Bruce Momjian 2002-11-13 00:37:06 +00:00
  • e433ddcf77 Add AIX as supported platform. Bruce Momjian 2002-11-12 20:20:37 +00:00
  • 266c3679f7 Add AIX as supported platform. Bruce Momjian 2002-11-12 20:19:55 +00:00
  • b5947f433e Update AIX resultmap for horology tests, per Andreas. Tom Lane 2002-11-12 20:02:38 +00:00
  • 4ee5fa3c74 Update AIX resultmap for horology tests, per Andreas. Tom Lane 2002-11-12 20:02:32 +00:00
  • 6929a1e6ad Improve comment: add note that grotty special case in mdread() is required by hash index implementation. Tom Lane 2002-11-12 15:26:30 +00:00
  • 90a06dba16 Fix broken GB18030 <--> UTF-8 conversion map Tatsuo Ishii 2002-11-12 11:33:40 +00:00
  • 07a51acac6 Fix broken GB18030 <--> UTF-8 conversion map Tatsuo Ishii 2002-11-12 11:30:50 +00:00
  • 400013ceec Remove NO_MKTIME_BEFORE_1970. I had speculated that it was not needed anymore given the mktime() workaround now done in DetermineLocalTimeZone. This has now been confirmed by Robert Bruccoleri for Irix, and I'm going to extrapolate to AIX as well. Tom Lane 2002-11-12 00:39:36 +00:00
  • 5eb6de5991 Remove NO_MKTIME_BEFORE_1970. I had speculated that it was not needed anymore given the mktime() workaround now done in DetermineLocalTimeZone. This has now been confirmed by Robert Bruccoleri for Irix, and I'm going to extrapolate to AIX as well. Tom Lane 2002-11-12 00:39:08 +00:00
  • f9b5b41ef9 Code review for ON COMMIT patch. Make the actual on-commit action happen before commit, not after :-( --- the original coding is not only unsafe if an error occurs while it's processing, but it generates an invalid sequence of WAL entries. Resurrect 7.2 logic for deleting items when no longer needed. Use an enum instead of random macros. Editorialize on names used for routines and constants. Teach backend/nodes routines about new field in CreateTable struct. Add a regression test. Tom Lane 2002-11-11 22:19:25 +00:00
  • 1b342df00a Merge documentation updates from 7.3 branch. Peter Eisentraut 2002-11-11 20:14:04 +00:00
  • b327906683 Merge release note updates from 7.3 branch. Peter Eisentraut 2002-11-11 20:06:00 +00:00
  • 387c942a35 Revise platform FAQs. Peter Eisentraut 2002-11-11 20:04:05 +00:00
  • b11398b79d Improve wording. Peter Eisentraut 2002-11-11 20:03:40 +00:00
  • 4d3fb9ce6e Improve formatting of release notes. Update makefile rule to make HISTORY file. Peter Eisentraut 2002-11-11 20:02:07 +00:00
  • fada198c43 Revise platform FAQs. Peter Eisentraut 2002-11-11 19:59:56 +00:00
  • f5a98eeba4 Improve wording. Peter Eisentraut 2002-11-11 19:59:05 +00:00
  • 696f4cfada Merge changes from head. (update classname for PGConnection) Barry Lind 2002-11-11 07:33:24 +00:00
  • 80c980021f Update jdbc doc to reflect correct name of the PGConnection class. Barry Lind 2002-11-11 07:31:28 +00:00
  • 76c89b3ec1 Merge fix from head for proper join to pg_description Barry Lind 2002-11-11 07:30:08 +00:00
  • 5ec61f4d2b Fixes bug where join to pg_description was incorrect. Also modifies the regression test to test for this case. Patch submitted by Kris Jurka. Barry Lind 2002-11-11 07:11:12 +00:00
  • 4e7721fdfe Add cast to suppress compile warning on Alphas. Tom Lane 2002-11-11 03:33:44 +00:00
  • ad18b10181 Add cast to suppress compile warning on Alphas. Tom Lane 2002-11-11 03:33:38 +00:00
  • 75fee4535d Back out use of palloc0 in place if palloc/MemSet. Seems constant len to MemSet is a performance boost. Bruce Momjian 2002-11-11 03:02:20 +00:00
  • f28dc57750 Update russian FAQ, from Viktor Vislobokov. Bruce Momjian 2002-11-10 19:49:24 +00:00
  • 5d283d89cb Update russian FAQ, from Viktor Vislobokov. Bruce Momjian 2002-11-10 19:48:41 +00:00
  • 3590e9fac8 Cleanup pass over User's Guide. Key word table updated. Peter Eisentraut 2002-11-10 12:45:43 +00:00
  • 188d4d6d73 Fix markup. Peter Eisentraut 2002-11-10 12:42:53 +00:00
  • 8fee9615cc Merge palloc()/MemSet(0) calls into a single palloc0() call. Bruce Momjian 2002-11-10 07:25:14 +00:00
  • 78822b328c Add palloc0 function to inline MemSet for newNode call. Bruce Momjian 2002-11-10 02:17:25 +00:00
  • 7aeab94adf This trivial patch removes 2 unused defines from pg_config.h.in: FASTBUILD and DATEDEBUG weren't referenced by any other code. Bruce Momjian 2002-11-10 00:38:21 +00:00
  • c600a6ac47 I am attaching a patch file that will replace the previous one. It only contains the patches to Makefile.global.in and Makefile.unixware. The Makefile.unixware patch has been updated to include the contents of LD_LIBRARY_PATH, if present, to the -rpath (-R) option. This change will simplify configuring and building PostgreSQL on systems that support LD_LIBRARY_PATH. You can set LD_LIBRARY_PATH to include all the directorys you want to have searched for additional libraries, run configure, then run make. The paths in LD_LIBRARY_PATH will then be embedded in the executables via the -rpath (-R) option to the linker, and so will not require LD_LIBRARY_PATH in order to run. Bruce Momjian 2002-11-10 00:37:28 +00:00
  • cfd2728100 This patch makes a minor cleanup to the implementation of PERFORM in PL/PgSQL. Previously, it had been bundled together with the assign statement implementation, for some reason that wasn't clear to me (they certainly don't share any code with one another). So I separated them and made PERFORM a statement like any other. No changes in functionality. Bruce Momjian 2002-11-10 00:35:58 +00:00
  • ceb4f5ea9c > > I'll re-check that with the ppc architecture guy here. > > ... he is now about to write an inlined version that can go into > s_lock.h . I'll send the new patch later on... Bruce Momjian 2002-11-10 00:33:43 +00:00
  • 50e726a2c3 Add documentation for array_upper/lower(). Bruce Momjian 2002-11-10 00:32:16 +00:00
  • 4ca28eb7c7 I just discovered, that there is missing a const when passing a buffer to PQescapeBytea and PQunescapeBytea. I fixed it and tried to create a usable diff (I'm not so familar to diff). Bruce Momjian 2002-11-10 00:14:22 +00:00
  • 3eabc4490e Tweak CREATE SEQUENCE grammar to be more SQL1999 standards compliant. Bruce Momjian 2002-11-10 00:10:20 +00:00
  • ebb531836a Add code to handle [ON COMMIT { PRESERVE ROWS | DELETE ROWS | DROP }] for temp tables. Bruce Momjian 2002-11-09 23:56:39 +00:00
  • f2ef470196 Update discussion of floating-point problems in regression tests. Tom Lane 2002-11-08 20:26:12 +00:00
  • bea4792125 This patch removes a bunch of superfluous #include directives: if postgres.h or c.h includes a system header (such as stdio.h or stdlib.h), there's no need to specifically include it in any of the .c files in the backend. Bruce Momjian 2002-11-08 20:23:57 +00:00
  • a5715eecb6 Clean up format of SQL. Bruce Momjian 2002-11-08 20:22:12 +00:00
  • 4c1383efd1 The attached patch defines functions for getting distances between points on the surface of the earth and locating points within a specified distance using an index based on the contrib/cube package. The new functions are all of language type sql. A couple of bugs in the old earthdistance function based on the point datatype are fixed. A regression test has been added for both sets of functions. The README file has been updated to include documentation on the new stuff. There are comments about how this package is also useful for Astronomers. Bruce Momjian 2002-11-08 20:20:22 +00:00
  • 337f73b1bb Revise geometry regression testing to eliminate most cross-platform variation. To do this, set extra_float_digits to -3 in the geometry test, and tweak the CIRCLE_TBL dataset to avoid values that suffer from severe cancellation error (eg, circles that just touch an axis). We still need two geometry 'expected' files to account for the difference between platforms that display minus zero as '-0' and those that just say '0', but with luck that's all we'll need. Tom Lane 2002-11-08 20:09:55 +00:00
  • b26dfbb0e3 Here is a patch that does just that, while maintaining the "traditional" behavior, so the change should be transparent. Use the command "\pset pager always" to turn it on. Anything else does the normal toggle between "on" and "off" Bruce Momjian 2002-11-08 19:12:21 +00:00
  • c2b716ab68 Replace imprecise value of PI with a better one, and tweak circle_poly in hopes of reducing platform-to-platform variations in its results. This will cause the geometry regression test to start failing on some platforms. I plan to update the test later today. Tom Lane 2002-11-08 18:32:47 +00:00
  • cea5388840 Add name: Bruce Momjian 2002-11-08 17:42:18 +00:00
  • 3e6bef680c Mark as done: Bruce Momjian 2002-11-08 17:41:05 +00:00
  • d2c744aa56 Add extra_float_digits GUC parameter to allow adjustment of displayed precision for float4, float8, and geometric types. Set it in pg_dump so that float data can be dumped/reloaded exactly (at least on platforms where the float I/O support is properly implemented). Initial patch by Pedro Ferreira, some additional work by Tom Lane. Tom Lane 2002-11-08 17:37:52 +00:00
  • fef731d1c4 The "Allow easy display of usernames in a group (pg_hba.conf uses groups now)" item on the open items, and subsequent plpgsql function I sent in, made me realize it was too hard to get the upper and lower bound of an array. The attached creates two functions that I think will be very useful when combined with the ability of plpgsql to return sets. Bruce Momjian 2002-11-08 17:27:03 +00:00
  • 7cd5a6a47f Update FAQ_SCO from Larry Rosenman, correction from Tom Lane. Bruce Momjian 2002-11-08 16:49:50 +00:00
  • 7eb2b4b270 Update FAQ_SCO from Larry Rosenman, correction from Tom Lane. Bruce Momjian 2002-11-08 16:49:15 +00:00
  • 87069846cb Back-patch changes to address Perl _GNU_SOURCE problem. Tom Lane 2002-11-08 05:23:09 +00:00
  • cefd27b73d Update libpq PQcmdTuples() and PQcmdStatus() docs: remove const param mention to match code and include files. Bruce Momjian 2002-11-08 05:10:00 +00:00
  • 88f528c3e9 Update libpq PQcmdTuples() and PQcmdStatus() docs, remove const param doc mention to match code and include files. Bruce Momjian 2002-11-08 05:03:11 +00:00
  • 56b12f79fd I'm using libpgtcl with PostgreSQL-7.2.3. There is a discrepancy between the documentation and behavior of "pg_result $res -oid" when $res is not from an INSERT. The documentation says it should return an empty string, but in fact it returns 0. I think it used to return an empty string around PostgreSQL-7.1.3 when PQoidStatus() was used, but now it uses PQoidValue() which returns InvalidOid, 0 in this case. Bruce Momjian 2002-11-08 04:57:07 +00:00
  • 02608cbce6 I'm using libpgtcl with PostgreSQL-7.2.3. There is a discrepancy between the documentation and behavior of "pg_result $res -oid" when $res is not from an INSERT. The documentation says it should return an empty string, but in fact it returns 0. I think it used to return an empty string around PostgreSQL-7.1.3 when PQoidStatus() was used, but now it uses PQoidValue() which returns InvalidOid, 0 in this case. Bruce Momjian 2002-11-08 04:56:40 +00:00
  • 476eb59f50 Add: Bruce Momjian 2002-11-08 04:31:14 +00:00
  • b9bfe0527e Update release docs for 7.3. Bruce Momjian 2002-11-08 03:45:35 +00:00
  • 433d4eb986 Update release docs for 7.3. Bruce Momjian 2002-11-08 03:44:15 +00:00
  • 9a1ced2732 Add #define _GNU_SOURCE to work around what seems to be Perl 5.8.0's problem. Per recent discussions about plperl failing to build on Linux. Tom Lane 2002-11-07 22:09:51 +00:00
  • b02d3aaed7 Move substitute extern declarations to end of file, so that they are not read until after we've read the port-specific header file. In particular this should make it safer to #include system headers for inet_aton; in general it seems that the port header file ought to be in a position to set definitions before we do stuff based on having a definition or not. Tom Lane 2002-11-07 22:08:30 +00:00
  • f2b5ed92e2 Remove inappropriate inclusions of OpenSSL internal header e_os.h, as well as unnecessary (and incorrect on Windows) assignments to errno/SOCK_ERRNO. Tom Lane 2002-11-07 18:47:08 +00:00
  • 3a4b3ac3a5 Remove inappropriate inclusions of OpenSSL internal header e_os.h, as well as unnecessary (and incorrect on Windows) assignments to errno/SOCK_ERRNO. Tom Lane 2002-11-07 18:45:51 +00:00
  • 11c4f2d97d Synced parser one more time. Michael Meskes 2002-11-07 09:48:09 +00:00
  • 7c1364bd19 Remove no-longer-needed inclusions to improve backward compatibility with older bison versions. Tom Lane 2002-11-07 06:06:39 +00:00
  • df7201c3c5 Remove no-longer-needed inclusions to improve backward compatibility with older bison versions. Tom Lane 2002-11-07 06:06:17 +00:00
  • 9515d57d05 Cleanup pass over Tutorial and Admin Guide Peter Eisentraut 2002-11-06 23:30:39 +00:00
  • 2103b7baa2 Phase 2 of hashed-aggregation project. nodeAgg.c now knows how to do hashed aggregation, but there's not yet planner support for it. Tom Lane 2002-11-06 22:31:24 +00:00
  • d1a6aa536e Remove GPL file pursuant to relicensing. Tom Lane 2002-11-06 22:23:33 +00:00
  • fc9814d17e Remove GPL file pursuant to relicensing. Tom Lane 2002-11-06 22:23:08 +00:00
  • 7694bf436f Stamp beta5. Bruce Momjian 2002-11-06 18:52:44 +00:00
  • 7b13c5a91e Change dbmirror lincense to BSD. Bruce Momjian 2002-11-06 17:51:40 +00:00
  • f4233d1478 Remove: Bruce Momjian 2002-11-06 17:51:03 +00:00
  • 5a87147173 Change dbmirror lincense to BSD. Bruce Momjian 2002-11-06 17:50:53 +00:00
  • 2fe9f20d3d Not done: Bruce Momjian 2002-11-06 06:21:00 +00:00
  • f9ed7fb68c Completed: Bruce Momjian 2002-11-06 05:56:36 +00:00
  • 0579096998 Remove completed items: Bruce Momjian 2002-11-06 05:55:14 +00:00
  • 308910d00f None. Bruce Momjian 2002-11-06 05:13:02 +00:00
  • f6dba10e62 First phase of implementing hash-based grouping/aggregation. An AGG plan node now does its own grouping of the input rows, and has no need for a preceding GROUP node in the plan pipeline. This allows elimination of the misnamed tuplePerGroup option for GROUP, and actually saves more code in nodeGroup.c than it costs in nodeAgg.c, as well as being presumably faster. Restructure the API of query_planner so that we do not commit to using a sorted or unsorted plan in query_planner; instead grouping_planner makes the decision. (Right now it isn't any smarter than query_planner was, but that will change as soon as it has the option to select a hash- based aggregation step.) Despite all the hackery, no initdb needed since only in-memory node types changed. Tom Lane 2002-11-06 00:00:45 +00:00
  • 2e28ef3663 Translation updates Peter Eisentraut 2002-11-05 23:37:47 +00:00