OSDN Git Service

pg-rex/syncrep.git
23 years agoAdd explicit ORDER BYs in a couple of cases --- seems to be necessary
Tom Lane [Mon, 6 Nov 2000 18:11:46 +0000 (18:11 +0000)]
Add explicit ORDER BYs in a couple of cases --- seems to be necessary
to get platform-independent results.

23 years agoI think Thomas missed an update here...
Tom Lane [Mon, 6 Nov 2000 18:11:03 +0000 (18:11 +0000)]
I think Thomas missed an update here...

23 years agoBack out aix makefile patch.
Bruce Momjian [Mon, 6 Nov 2000 18:06:58 +0000 (18:06 +0000)]
Back out aix makefile patch.

23 years agoMakefile.ports (copied from makefiles/Makefile.aix) is included before
Bruce Momjian [Mon, 6 Nov 2000 17:07:43 +0000 (17:07 +0000)]
Makefile.ports (copied from makefiles/Makefile.aix) is included before
the default target in GNUmakefile is reached.  This patch calls that
default target.

Pete Forman

23 years agoAdd support for AT TIME ZONE syntax.
Thomas G. Lockhart [Mon, 6 Nov 2000 16:05:25 +0000 (16:05 +0000)]
Add support for AT TIME ZONE syntax.

23 years agoAdd tests for more INTERVAL syntax.
Thomas G. Lockhart [Mon, 6 Nov 2000 16:03:47 +0000 (16:03 +0000)]
Add tests for more INTERVAL syntax.
Add more tests for JOIN syntax.
All tests pass on my Linux box (except for the usual couple of lines
 for geometry).

23 years agoAdd functions to support AT TIME ZONE syntax.
Thomas G. Lockhart [Mon, 6 Nov 2000 15:58:46 +0000 (15:58 +0000)]
Add functions to support AT TIME ZONE syntax.
Update catalog version to today.

23 years agoFix INTERVAL output when year/month has different sign as day/hour etc.
Thomas G. Lockhart [Mon, 6 Nov 2000 15:57:00 +0000 (15:57 +0000)]
Fix INTERVAL output when year/month has different sign as day/hour etc.
 Previously, all fields were unsigned, with only a trailing "ago" to
 indicate negative intervals. Now, ISO format does not use "ago", and
 and the traditional PostgreSQL format has the first numeric field unsigned
 with "ago" supporting that field. So "1 month - 2 days ago" is two days
 less than a month in the past.
Fix interval arithmetic across daylight savings time boundaries.
 Previously, most math across boundaries introduced a one hour offset.
Allow some date/time functions to return NULL if called with NULL args.
Implement functions for AT TIME ZONE support.
Support "SAT" as an Australian time zone if USE_AUSTRALIAN_RULES
 is defined.

23 years agoImplement AT TIME ZONE SQL9x syntax.
Thomas G. Lockhart [Mon, 6 Nov 2000 15:47:17 +0000 (15:47 +0000)]
Implement AT TIME ZONE SQL9x syntax.
 AT is now a keyword but is not a reserved word.

23 years agoAllow type resolution for UNKNOWN arguments to functions to fall back to
Thomas G. Lockhart [Mon, 6 Nov 2000 15:42:30 +0000 (15:42 +0000)]
Allow type resolution for UNKNOWN arguments to functions to fall back to
 any available string type. Previously, all candidate choices must have
 fallen within the same "type category" for PostgreSQL to be willing to
 choose any of them.
Need to apply the same fixup to operator type resolution.

23 years agoUpdate TODO list.
Bruce Momjian [Mon, 6 Nov 2000 03:59:20 +0000 (03:59 +0000)]
Update TODO list.

23 years agoNew CHECKPOINT command.
Vadim B. Mikheev [Sun, 5 Nov 2000 22:50:21 +0000 (22:50 +0000)]
New CHECKPOINT command.
Auto removing of offline log files and creating new file
at checkpoint time.

23 years agoAdd some configure checks for DocBook and related tools. With a somewhat
Peter Eisentraut [Sun, 5 Nov 2000 21:04:07 +0000 (21:04 +0000)]
Add some configure checks for DocBook and related tools.  With a somewhat
standard installation layout it should be possible to build the HTML
and print documentation without additional manual setup.

23 years agoUpdate for recent developments (C++, shlib), minor fixes
Peter Eisentraut [Sun, 5 Nov 2000 20:52:59 +0000 (20:52 +0000)]
Update for recent developments (C++, shlib), minor fixes

23 years agoUNION select in a CREATE RULE caused a weird error, because transformRuleStmt
Tom Lane [Sun, 5 Nov 2000 01:42:07 +0000 (01:42 +0000)]
UNION select in a CREATE RULE caused a weird error, because transformRuleStmt
got confused by 'dummy' targetlist built for the UNION's toplevel query.
Fix by making dummy targetlist a little less cheesy.

23 years agoUpdate TODO list.
Bruce Momjian [Sun, 5 Nov 2000 00:22:02 +0000 (00:22 +0000)]
Update TODO list.

23 years agoAllow ORDER BY, LIMIT in sub-selects. Fix most (not all) cases where
Tom Lane [Sun, 5 Nov 2000 00:15:54 +0000 (00:15 +0000)]
Allow ORDER BY, LIMIT in sub-selects.  Fix most (not all) cases where
the grammar did not allow redundant parentheses around sub-selects.
Distinguish LIMIT ALL from LIMIT 0; make the latter behave as one would
expect.

23 years agoUpdate for createlang options in docs.
Bruce Momjian [Sat, 4 Nov 2000 21:09:41 +0000 (21:09 +0000)]
Update for createlang options in docs.

23 years agomore procedural doc cleanup
Bruce Momjian [Sat, 4 Nov 2000 21:06:37 +0000 (21:06 +0000)]
more procedural doc cleanup

23 years agoMake PROCEDURAL optional in CREATE/DROP LANGUAGE.
Bruce Momjian [Sat, 4 Nov 2000 21:04:56 +0000 (21:04 +0000)]
Make PROCEDURAL optional in CREATE/DROP LANGUAGE.

23 years agoThis patch should allow primary/foreign key
Bruce Momjian [Sat, 4 Nov 2000 18:29:09 +0000 (18:29 +0000)]
This patch should allow primary/foreign key
definitions using inherited columns in the
create table statement.

Stephan Szabo

23 years agoUpdate FAQ_DEV.
Bruce Momjian [Sat, 4 Nov 2000 18:23:36 +0000 (18:23 +0000)]
Update FAQ_DEV.

23 years agoUpdate FAQ_DEV.
Bruce Momjian [Sat, 4 Nov 2000 17:09:24 +0000 (17:09 +0000)]
Update FAQ_DEV.

23 years agoRemove .SECONDARY: target again, because GNU make 3.78.1 will get mighty
Peter Eisentraut [Sat, 4 Nov 2000 16:39:02 +0000 (16:39 +0000)]
Remove .SECONDARY: target again, because GNU make 3.78.1 will get mighty
confused in src/interfaces/libpq for some reason.  Seemingly, different
GNU make versions have several mutually conflicting problems with implicit
rule chains.  Words are not sufficient...

23 years agoSeparate CFLAGS_SL and CXXFLAGS_SL, to allow building with C and C++
Peter Eisentraut [Sat, 4 Nov 2000 16:35:55 +0000 (16:35 +0000)]
Separate CFLAGS_SL and CXXFLAGS_SL, to allow building with C and C++
compilers from different providers.  (Especially important since the
C++ compiler that goes with your favourite C compiler might not work.)

23 years agoPut -Ae into CC not CFLAGS, since it's not optional.
Peter Eisentraut [Sat, 4 Nov 2000 14:34:54 +0000 (14:34 +0000)]
Put -Ae into CC not CFLAGS, since it's not optional.

23 years agoIf CFLAGS was specified in the environment, use that, not what the template
Peter Eisentraut [Sat, 4 Nov 2000 14:29:26 +0000 (14:29 +0000)]
If CFLAGS was specified in the environment, use that, not what the template
says.

23 years agoThis is no longer used since we have the 'resultmap'.
Peter Eisentraut [Sat, 4 Nov 2000 13:37:39 +0000 (13:37 +0000)]
This is no longer used since we have the 'resultmap'.

23 years agoSince the backend now handles relative PGDATA, initdb doesn't have to work
Peter Eisentraut [Sat, 4 Nov 2000 12:47:48 +0000 (12:47 +0000)]
Since the backend now handles relative PGDATA, initdb doesn't have to work
around anymore.

23 years agoMake the backend grok relative paths for the data directory by converting
Peter Eisentraut [Sat, 4 Nov 2000 12:43:24 +0000 (12:43 +0000)]
Make the backend grok relative paths for the data directory by converting
it to an absolute path.

23 years agoautoconf
Bruce Momjian [Sat, 4 Nov 2000 02:45:15 +0000 (02:45 +0000)]
autoconf

23 years agoFix for missing EUC_TW encoding
Tatsuo Ishii [Sat, 4 Nov 2000 02:27:56 +0000 (02:27 +0000)]
Fix for missing EUC_TW encoding

23 years agooutdated and obsolete
Peter Eisentraut [Fri, 3 Nov 2000 20:38:42 +0000 (20:38 +0000)]
outdated and obsolete

23 years agoAdd global .SECONDARY: target to not allow make to delete intermediate
Peter Eisentraut [Fri, 3 Nov 2000 20:27:40 +0000 (20:27 +0000)]
Add global .SECONDARY: target to not allow make to delete intermediate
target files in implicit rule chains.  That might have been a cool idea
but it seems to be too buggy to work, as it caused spurious recompiles in
several places.

23 years agoMinor code cleanups, make in_group() check faster.
Tom Lane [Fri, 3 Nov 2000 19:02:18 +0000 (19:02 +0000)]
Minor code cleanups, make in_group() check faster.

23 years agoFix bug reported by bobson: aclinsert3 would delete the 'world' entry
Tom Lane [Fri, 3 Nov 2000 19:01:36 +0000 (19:01 +0000)]
Fix bug reported by bobson: aclinsert3 would delete the 'world' entry
from an ACL list if it had no permissions remaining, which confused
aclcheck terribly.  Also clean up code a little.

23 years agoAdd configure check to see whether <string.h> and <strings.h> may both be
Peter Eisentraut [Fri, 3 Nov 2000 18:43:52 +0000 (18:43 +0000)]
Add configure check to see whether <string.h> and <strings.h> may both be
included, and then include <strings.h> if so.  Several systems already
needed <strings.h> anyway.  Some new systems that claim to conform to the
Unix 9x "standard" do not declare str[n]casemp() in string.h, and C99
compilers will not like that.

23 years agopg_variable is not used in WAL version now.
Vadim B. Mikheev [Fri, 3 Nov 2000 11:39:36 +0000 (11:39 +0000)]
pg_variable is not used in WAL version now.

23 years agoParser sync.
Michael Meskes [Fri, 3 Nov 2000 10:47:54 +0000 (10:47 +0000)]
Parser sync.

23 years agoImprove inv_getsize() per suggestion from Denis Perchine; also fix
Tom Lane [Thu, 2 Nov 2000 23:52:06 +0000 (23:52 +0000)]
Improve inv_getsize() per suggestion from Denis Perchine; also fix
thinkos in inv_seek().

23 years agoPeter forgot to fix {operator} rule to match modified definition of
Tom Lane [Thu, 2 Nov 2000 23:20:27 +0000 (23:20 +0000)]
Peter forgot to fix {operator} rule to match modified definition of
'self' characters.

23 years agoFix insufficiently-parenthesized macro definitions.
Tom Lane [Thu, 2 Nov 2000 23:11:03 +0000 (23:11 +0000)]
Fix insufficiently-parenthesized macro definitions.
No known bug here, but...

23 years agoRemove pg_dumpaccounts from 7.1 tree.
Bruce Momjian [Thu, 2 Nov 2000 22:04:51 +0000 (22:04 +0000)]
Remove pg_dumpaccounts from 7.1 tree.

23 years agoUpdate TODO list.
Bruce Momjian [Thu, 2 Nov 2000 21:16:56 +0000 (21:16 +0000)]
Update TODO list.

23 years agoAdd pg_dumpall --accounts-only option.
Peter Eisentraut [Thu, 2 Nov 2000 21:13:32 +0000 (21:13 +0000)]
Add pg_dumpall --accounts-only option.

23 years agoUpdate TODO list.
Bruce Momjian [Thu, 2 Nov 2000 20:53:26 +0000 (20:53 +0000)]
Update TODO list.

23 years agoAllow initdb to handle relative paths for PGDATA, by converting them to
Peter Eisentraut [Thu, 2 Nov 2000 19:48:39 +0000 (19:48 +0000)]
Allow initdb to handle relative paths for PGDATA, by converting them to
absolute before starting a backend.

23 years agoChange bool to boolean in docs.
Bruce Momjian [Thu, 2 Nov 2000 19:26:49 +0000 (19:26 +0000)]
Change bool to boolean in docs.

23 years agoPass on all CPPFLAGS that look like -I* to the PL/Perl build.
Peter Eisentraut [Thu, 2 Nov 2000 18:40:13 +0000 (18:40 +0000)]
Pass on all CPPFLAGS that look like -I* to the PL/Perl build.
(This previously worked, but must have gotten lost somewhere...)

23 years agoAdded utility script pg_dumpaccounts to contrib.
Jan Wieck [Thu, 2 Nov 2000 18:20:12 +0000 (18:20 +0000)]
Added utility script pg_dumpaccounts to contrib.

Derived from pg_dumpall it just dumps users and groups.

Jan

23 years agoautoconf
Bruce Momjian [Thu, 2 Nov 2000 16:56:32 +0000 (16:56 +0000)]
autoconf

23 years agoAdd runtime configuration options to control permission bits and group
Peter Eisentraut [Wed, 1 Nov 2000 21:14:03 +0000 (21:14 +0000)]
Add runtime configuration options to control permission bits and group
owner of unix socket.

23 years agoForgot to check page LSN and unlock buffer in btree_xlog_delete - fixed.
Vadim B. Mikheev [Wed, 1 Nov 2000 20:39:58 +0000 (20:39 +0000)]
Forgot to check page LSN and unlock buffer in btree_xlog_delete - fixed.
(Thanks to Tatsuo Ishii for finding bug)

23 years agoFixed minor bug in ResultSet for jdbc2 reported by Matthew Denner that absolute doesn...
Peter Mount [Wed, 1 Nov 2000 16:55:32 +0000 (16:55 +0000)]
Fixed minor bug in ResultSet for jdbc2 reported by Matthew Denner that absolute doesnt handle negative row numbers correctly.

23 years agoFix for PQsetdb port parameter due to the interface change.
Tatsuo Ishii [Wed, 1 Nov 2000 00:45:46 +0000 (00:45 +0000)]
Fix for PQsetdb port parameter due to the interface change.
PQsetdb no more recognize "" as the default port number.

23 years agoFix recovery cache code (thanks to Peter Eisentraut for
Vadim B. Mikheev [Tue, 31 Oct 2000 23:56:36 +0000 (23:56 +0000)]
Fix recovery cache code (thanks to Peter Eisentraut for
pointing to bug).

23 years agoThis is the minimal version of the Darwin support patch from
Peter Eisentraut [Tue, 31 Oct 2000 19:55:20 +0000 (19:55 +0000)]
This is the minimal version of the Darwin support patch from
Bruce Hartzler <bruceh@mail.utexas.edu>.  It contains shared library
support, regression test map, and the usual template files.  The dynamic
loader is missing, the spin lock code apparently doesn't assemble due to
syntax problems, and semaphores are to be hoped for from Apple.

23 years agoDetermine CXXFLAGS after the C++ compiler was detected. Also honor
Peter Eisentraut [Tue, 31 Oct 2000 18:16:20 +0000 (18:16 +0000)]
Determine CXXFLAGS after the C++ compiler was detected.  Also honor
--enable-debug and environment variable override.

23 years agoAdded patch by Christof Petig <christof.petig@wtal.de> that fixes some bugs in preproc.y.
Michael Meskes [Tue, 31 Oct 2000 15:11:38 +0000 (15:11 +0000)]
Added patch by Christof Petig <christof.petig@wtal.de> that fixes some bugs in preproc.y.

23 years agoUse $(filter ...), not $(findstring ...).
Peter Eisentraut [Tue, 31 Oct 2000 14:37:25 +0000 (14:37 +0000)]
Use $(filter ...), not $(findstring ...).

23 years agoAdded long-standing transaction when restoring BLOBS (uses commit every BLOB_BATCH_SIZE)
Philip Warner [Tue, 31 Oct 2000 14:20:30 +0000 (14:20 +0000)]
Added long-standing transaction when restoring BLOBS (uses commit every BLOB_BATCH_SIZE)
Prevent dumping of languages from template1.

23 years agoChange internal string representation of BitString node to include a
Peter Eisentraut [Tue, 31 Oct 2000 13:59:53 +0000 (13:59 +0000)]
Change internal string representation of BitString node to include a
leading 'b', as it appears to be more convenient this way for the input
and node functions.

23 years agoHashing functions from Marko Kreen <marko@l-t.ee>
Peter Eisentraut [Tue, 31 Oct 2000 13:11:28 +0000 (13:11 +0000)]
Hashing functions from Marko Kreen <marko@l-t.ee>

23 years agoChange the parser to convert SQL "position" and "substring" syntax to
Peter Eisentraut [Tue, 31 Oct 2000 10:22:13 +0000 (10:22 +0000)]
Change the parser to convert SQL "position" and "substring" syntax to
position() and substring() functions, so that it works transparently for
bit types as well.  Alias the text functions appropriately.

Add position() for bit types.

Add new constant node T_BitString that represents literals of the form
B'1001 and pass those to zpbit type.

23 years agoDisallow zero-length delimited identifier (per SQL).
Peter Eisentraut [Mon, 30 Oct 2000 17:54:16 +0000 (17:54 +0000)]
Disallow zero-length delimited identifier (per SQL).

23 years agoSync preproc.y with gram.y.
Michael Meskes [Mon, 30 Oct 2000 14:43:40 +0000 (14:43 +0000)]
Sync preproc.y with gram.y.

23 years agoAdd -enable-uniconv
Tatsuo Ishii [Mon, 30 Oct 2000 13:27:13 +0000 (13:27 +0000)]
Add -enable-uniconv

23 years agoAdd support for code conversion between Unicode and other encodings.
Tatsuo Ishii [Mon, 30 Oct 2000 10:41:05 +0000 (10:41 +0000)]
Add support for code conversion between Unicode and other encodings.
Supported encodings are: EUC_JP, EUC_CN, EUC_KR, EUC_TW, Shift JIS,
Big5, ISO8859-[1-5].
TODO: testings! and documentations...

23 years agoAvoid dependency on backend's multibyte module as possible.
Tatsuo Ishii [Mon, 30 Oct 2000 10:31:46 +0000 (10:31 +0000)]
Avoid dependency on backend's multibyte module as possible.
Now frontend/libpq has its own version of pg_encoding_to_char
and pg_char_to_encoding.

23 years agoAdd new configure option "--enable-uniconv" that enables automatic
Tatsuo Ishii [Mon, 30 Oct 2000 07:17:31 +0000 (07:17 +0000)]
Add new configure option "--enable-uniconv" that enables automatic
code conversion between Unicode and other encodings. Note that
this option requires --enable-multibyte also.
The reason why this is optional is that the feature requires huge
mapping tables and I don't think every user need the feature.

23 years agoinclude pg_wchar.h to import a fucntion prototype of pg_mbcliplen
Tatsuo Ishii [Mon, 30 Oct 2000 06:48:36 +0000 (06:48 +0000)]
include pg_wchar.h to import a fucntion prototype of pg_mbcliplen

23 years agoWAL fixes.
Vadim B. Mikheev [Sun, 29 Oct 2000 18:33:41 +0000 (18:33 +0000)]
WAL fixes.

23 years agoupdate flags.
Bruce Momjian [Sun, 29 Oct 2000 18:13:47 +0000 (18:13 +0000)]
update flags.

23 years agoAutomatic dependency tracking for C++ (GCC only)
Peter Eisentraut [Sun, 29 Oct 2000 16:13:28 +0000 (16:13 +0000)]
Automatic dependency tracking for C++ (GCC only)

23 years agoRemove special treatment of '|' operator, in the spirit of "sane" binary
Peter Eisentraut [Sun, 29 Oct 2000 16:11:33 +0000 (16:11 +0000)]
Remove special treatment of '|' operator, in the spirit of "sane" binary
operators.

23 years agoUSE_POSIX_TIME replaced by HAVE_TM_ZONE || HAVE_INT_TIMEZONE, which are
Peter Eisentraut [Sun, 29 Oct 2000 13:17:34 +0000 (13:17 +0000)]
USE_POSIX_TIME replaced by HAVE_TM_ZONE || HAVE_INT_TIMEZONE, which are
equivalent.

In linux.h there were some #undef HAVE_INT_TIMEZONE, which are useless
because HAVE_TM_ZONE overrides it anyway, and messing with configure
results isn't cool.

23 years agoOmit perl and python interfaces when making temporary installation.
Peter Eisentraut [Sun, 29 Oct 2000 12:49:49 +0000 (12:49 +0000)]
Omit perl and python interfaces when making temporary installation.

23 years agoShould be "test =", not "test ==".
Peter Eisentraut [Sun, 29 Oct 2000 11:36:44 +0000 (11:36 +0000)]
Should be "test =", not "test ==".

23 years agoRemoved multibyte stuff since client does not know about encoding in the backendFixed...
Michael Meskes [Sun, 29 Oct 2000 09:44:58 +0000 (09:44 +0000)]
Removed multibyte stuff since client does not know about encoding in the backendFixed quoting bug reported by Sascha Demetrio (sd@b-comp.de).

23 years ago#define JMP_BUF has been unnecessary since the arrival of the sigsetjmp
Peter Eisentraut [Sat, 28 Oct 2000 23:53:01 +0000 (23:53 +0000)]
#define JMP_BUF has been unnecessary since the arrival of the sigsetjmp
test.

23 years agoAs we don't use struct dirent, the #define SYSV_DIRENT is useless. If we
Peter Eisentraut [Sat, 28 Oct 2000 22:53:17 +0000 (22:53 +0000)]
As we don't use struct dirent, the #define SYSV_DIRENT is useless.  If we
every do need it we'd better use AC_HEADER_DIRENT from Autoconf.

#define NO_EMPTY_STMTS is completely unused.

23 years agoMake initdb safe against using
Peter Eisentraut [Sat, 28 Oct 2000 22:14:14 +0000 (22:14 +0000)]
Make initdb safe against using
a) mismatching backend program, by checking --version output
b) mismatching bki files, by putting a version-identifying comment atop
   those files.

23 years agoBack out change to gram.y for parens.
Bruce Momjian [Sat, 28 Oct 2000 19:41:00 +0000 (19:41 +0000)]
Back out change to gram.y for parens.

23 years agobeos fixes from Cyril VELTER
Bruce Momjian [Sat, 28 Oct 2000 18:27:57 +0000 (18:27 +0000)]
beos fixes from Cyril VELTER

23 years agoWAL
Vadim B. Mikheev [Sat, 28 Oct 2000 16:21:00 +0000 (16:21 +0000)]
WAL

23 years agoOkay, here's my attempt at fixing the problems with parentheses in
Bruce Momjian [Sat, 28 Oct 2000 15:44:04 +0000 (15:44 +0000)]
Okay, here's my attempt at fixing the problems with parentheses in
subqueries.  It passes the normal 'runcheck' tests, and I've tried
a few simple things like
  select 1 as foo union (((((select 2))))) order by foo;

There are a few things that it doesn't do that have been talked
about here at least a little:

1) It doesn't allow things like "IN(((select 1)))" -- the select
here has to be at the top level.  This is not new.
2) It does NOT preserve the odd syntax I found when I started looking
at this, where a SELECT statement could begin with parentheses.  Thus,
  (SELECT a from foo) order by a;
fails.

I have preserved the ability, used in the regression tests, to
have a single select statement in what appears to be a RuleActionMulti
(but wasn't -- the parens were part of select_clause syntax).
In my version, this is a special form.

This may cause some discussion: I have differentiated the two kinds
of RuleActionMulti.  Perhaps nobody knew there were two kinds, because
I don't think the second form appears in the regression tests. This
one uses square brackets instead of parentheses, but originally was
otherwise the same as the one in parentheses.  In this version of
gram.y, the square bracket form treats SELECT statements the same
as the other allowed statements.  As discussed before on this list,
psql cannot make sense out of the results of such a thing, but an
application might.  And I have designs on just such an application.

++ kevin o'gorman

23 years agoRemove compiler warnings (add missing include files). Only link against
Peter Eisentraut [Sat, 28 Oct 2000 15:10:36 +0000 (15:10 +0000)]
Remove compiler warnings (add missing include files).  Only link against
-lm if it's actually there.

23 years agoAdd --version and --help options to "postgres".
Peter Eisentraut [Sat, 28 Oct 2000 01:07:00 +0000 (01:07 +0000)]
Add --version and --help options to "postgres".

23 years agoMake use of system-specific linker option to embed shared library search
Peter Eisentraut [Fri, 27 Oct 2000 23:59:39 +0000 (23:59 +0000)]
Make use of system-specific linker option to embed shared library search
path into executables and shared libraries (-rpath or -R for most).  Can be
disabled with --disable-rpath, since some binary packaging standards do not
like this option.

23 years agoFix java driver example.
Bruce Momjian [Fri, 27 Oct 2000 22:28:23 +0000 (22:28 +0000)]
Fix java driver example.

23 years agoUse compiler driver, not linker, to link shared libraries on Unixware.
Peter Eisentraut [Fri, 27 Oct 2000 20:09:48 +0000 (20:09 +0000)]
Use compiler driver, not linker, to link shared libraries on Unixware.

23 years agoMake regression tests work with VPATH builds.
Peter Eisentraut [Fri, 27 Oct 2000 20:00:22 +0000 (20:00 +0000)]
Make regression tests work with VPATH builds.

23 years agoFix for drop db message format changes
Tatsuo Ishii [Fri, 27 Oct 2000 02:25:34 +0000 (02:25 +0000)]
Fix for drop db message format changes

23 years agoRemove gcc-only macro definition
Tatsuo Ishii [Fri, 27 Oct 2000 02:23:51 +0000 (02:23 +0000)]
Remove gcc-only macro definition

23 years agoDisallow bits beyond the mask length for CIDR values, per discussion
Tom Lane [Fri, 27 Oct 2000 01:55:23 +0000 (01:55 +0000)]
Disallow bits beyond the mask length for CIDR values, per discussion
on pghackers.  Arrange for the sort ordering of general INET values
to be network part as major sort key, host part as minor sort key.
I did not force an initdb for this change, but anyone who's running
indexes on general INET values may need to recreate those indexes.

23 years agoRe-implement LIMIT/OFFSET as a plan node type, instead of a hack in
Tom Lane [Thu, 26 Oct 2000 21:38:24 +0000 (21:38 +0000)]
Re-implement LIMIT/OFFSET as a plan node type, instead of a hack in
ExecutorRun.  This allows LIMIT to work in a view.  Also, LIMIT in a
cursor declaration will behave in a reasonable fashion, whereas before
it was overridden by the FETCH count.

23 years agoUpdate TODO list.
Bruce Momjian [Thu, 26 Oct 2000 19:55:10 +0000 (19:55 +0000)]
Update TODO list.

23 years agoFix breakage I introduced yesterday in MULTIBYTE compilations.
Tom Lane [Thu, 26 Oct 2000 17:31:35 +0000 (17:31 +0000)]
Fix breakage I introduced yesterday in MULTIBYTE compilations.
Sorry 'bout that, chief...

23 years agoClean up gcc warnings in MULTIBYTE mode.
Tom Lane [Thu, 26 Oct 2000 17:04:12 +0000 (17:04 +0000)]
Clean up gcc warnings in MULTIBYTE mode.

23 years agoIn flex --version test, redirect stdin to /dev/null, because some lex' hang
Peter Eisentraut [Thu, 26 Oct 2000 16:28:01 +0000 (16:28 +0000)]
In flex --version test, redirect stdin to /dev/null, because some lex' hang
waiting for input.  From Pete Forman <gsez020@kryten.bedford.waii.com>.