]> granicus.if.org Git - postgresql/log
postgresql
26 years agoObsolete information completely superceded by the sgml sources.
Thomas G. Lockhart [Fri, 2 Oct 1998 16:46:34 +0000 (16:46 +0000)]
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.

26 years agoSurround all identifiers with double quotes.
Thomas G. Lockhart [Fri, 2 Oct 1998 16:43:41 +0000 (16:43 +0000)]
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.

26 years ago Here's a combination of all the patches I'm currently waiting
Bruce Momjian [Fri, 2 Oct 1998 16:28:04 +0000 (16:28 +0000)]
Here's a combination of all the patches I'm currently waiting
    for against a just updated CVS tree. It contains

        Partial new rewrite system that handles subselects,  view
        aggregate  columns, insert into select from view, updates
        with set col = view-value and select rules restriction to
        view definition.

        Updates  for  rule/view  backparsing utility functions to
        handle subselects correct.

        New system views pg_tables and pg_indexes (where you  can
        see the complete index definition in the latter one).

        Enabling array references on query parameters.

        Bugfix for functional index.

        Little changes to system views pg_rules and pg_views.

    The rule system isn't a release-stopper any longer.

    But  another  stopper  is  that  I  don't  know if the latest
    changes to PL/pgSQL (not already in CVS) made it  compile  on
    AIX. Still wait for some response from Dave.

Jan

26 years ago the following little patch adds array references to query
Bruce Momjian [Fri, 2 Oct 1998 16:23:07 +0000 (16:23 +0000)]
the  following  little  patch  adds array references to query
    parameters. With it applied a function like

    CREATE FUNCTION getname(oid8, int4) RETURNS name AS
        'SELECT typname FROM pg_type WHERE oid = $1[$2]'
        LANGUAGE 'sql';

    is possible. Mainly I need this to enable array references in
    expressions for PL/pgSQL. Complete regression test ran O.K.

Jan

26 years agoSummary
Bruce Momjian [Fri, 2 Oct 1998 16:18:20 +0000 (16:18 +0000)]
Summary

The ident() function in src/backend/libpq/hba.c doesn't cope when
postmaster is contacted on an IP alias. This patch fixes it.

 Malcolm Beattie

26 years agoFixes for Irix from Robert Bruccoleri
Bruce Momjian [Fri, 2 Oct 1998 15:38:04 +0000 (15:38 +0000)]
Fixes for Irix from Robert Bruccoleri

26 years agoHere's the new diff for getting the NS32K assembly code into the
Bruce Momjian [Fri, 2 Oct 1998 15:23:08 +0000 (15:23 +0000)]
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.

Jon Buller

26 years agoregproc cleanups
Bruce Momjian [Fri, 2 Oct 1998 05:31:28 +0000 (05:31 +0000)]
regproc cleanups

26 years agoFix for regproc so proc name can be supplied if unique, if not, oid.
Bruce Momjian [Fri, 2 Oct 1998 05:10:11 +0000 (05:10 +0000)]
Fix for regproc so proc name can be supplied if unique, if not, oid.

26 years agoFix potential coredump in pg_conndefaults (assigning constant string
Tom Lane [Fri, 2 Oct 1998 01:37:17 +0000 (01:37 +0000)]
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.

26 years agoSearch contrib/tcl for tcl startup.
Bruce Momjian [Fri, 2 Oct 1998 01:22:43 +0000 (01:22 +0000)]
Search contrib/tcl for tcl startup.

26 years agoClean up some minor bugs concerning what was inside the main loop
Tom Lane [Fri, 2 Oct 1998 01:14:14 +0000 (01:14 +0000)]
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.

26 years agoFix for constbyval.
Bruce Momjian [Thu, 1 Oct 1998 22:51:22 +0000 (22:51 +0000)]
Fix for constbyval.

26 years agoFix for constbyval .
Bruce Momjian [Thu, 1 Oct 1998 22:45:32 +0000 (22:45 +0000)]
Fix for constbyval .

26 years agofailed to add some of Jan's files :(
Marc G. Fournier [Thu, 1 Oct 1998 03:38:45 +0000 (03:38 +0000)]
failed to add some of Jan's files :(

26 years agoGet rid of some long-dead code that thinks NOTIFY is passed to the
Tom Lane [Thu, 1 Oct 1998 02:04:01 +0000 (02:04 +0000)]
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.

26 years agoMake HP-PA S_UNLOCK a little faster and less dependent on unspecified compiler codege...
Tom Lane [Thu, 1 Oct 1998 01:53:50 +0000 (01:53 +0000)]
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.)

26 years agopg_dump -z was careless about ownership of indexes.
Tom Lane [Thu, 1 Oct 1998 01:49:12 +0000 (01:49 +0000)]
pg_dump -z was careless about ownership of indexes.
Now it's a little less so.

26 years agoSimplify pg_result by using new libpq PQresultErrorMessage;
Tom Lane [Thu, 1 Oct 1998 01:45:38 +0000 (01:45 +0000)]
Simplify pg_result by using new libpq PQresultErrorMessage;
fix some memory leaks in pg_select.

26 years agoUpdate libpq to store an error message in PGresult, per pgsq-interfaces discussion...
Tom Lane [Thu, 1 Oct 1998 01:40:26 +0000 (01:40 +0000)]
Update libpq to store an error message in PGresult, per pgsq-interfaces discussion of 21-Sep.

26 years agoChange HPUX loader flags to trap null pointer derefs
Tom Lane [Thu, 1 Oct 1998 01:26:45 +0000 (01:26 +0000)]
Change HPUX loader flags to trap null pointer derefs

26 years agoUpdate to track newest gram.y.
Thomas G. Lockhart [Wed, 30 Sep 1998 05:48:28 +0000 (05:48 +0000)]
Update to track newest gram.y.

26 years agoAdd as many keywords as possible to column identifier or label lists.
Thomas G. Lockhart [Wed, 30 Sep 1998 05:47:57 +0000 (05:47 +0000)]
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.

26 years agoMessage changed slightly since "rename" is now allowed as a column name.
Thomas G. Lockhart [Wed, 30 Sep 1998 05:43:23 +0000 (05:43 +0000)]
Message changed slightly since "rename" is now allowed as a column name.

26 years agoClean up pages. Add information for operator precedence.
Thomas G. Lockhart [Wed, 30 Sep 1998 05:41:54 +0000 (05:41 +0000)]
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.

26 years agoAdd new SQL reference page and the first utility/app reference page
Thomas G. Lockhart [Wed, 30 Sep 1998 05:38:56 +0000 (05:38 +0000)]
Add new SQL reference page and the first utility/app reference page
 converted from the man page.

26 years agoFrom: Jan Wieck <jwieck@debis.com>
Marc G. Fournier [Tue, 29 Sep 1998 12:43:05 +0000 (12:43 +0000)]
From: Jan Wieck <jwieck@debis.com>

    here  is  the  patch  that  includes  PL/pgSQL into the build
    (currently with make errors ignored) and  adds  a  regression
    test for it. A clean build and regression ran fine here.

    Can you please apply it?

    The  tar  should  be  extracted  in  /usr/local/src/pgsql and
    creates the following files:

    src/pl/Makefile
            called by toplevel GNUmakefile and for now only calls
            src/pl/plpgsql/Makefile

    src/pl/plpgsql/Makefile
            calls  src/pl/plpgsql/src/Makefile  (here the call to
            make ignores build errors  -  this  must  be  changed
            later for the final release).

    src/test/regress/input/install_plpgsql.source
            SQL script installing PL/pgSQL language in regression
            database. Will be modified by  .../input/Makefile  to
            point  to  correct  PGLIB  directory where plpgsql.so
            gets installed.

    src/test/regress/output/install_plpgsql.source
            expected output for installation script.

    src/test/regress/sql/plpgsql.sql
            the main regression  test.  It  tests  functions  and
            triggers written in PL/pgSQL including views that use
            supportfunctions in this language.

    src/test/regress/expected/plpgsql.out
            the expected output for the above regression test.

    make_plpgsql.diff
            patch that adds some lines to

            src/GNUmakefile.in
            src/test/regress/expected/Makefile
            src/test/regress/input/Makefile
            src/test/regress/output/Makefile
            src/test/regress/sql/Makefile
            src/test/regress/sql/tests

26 years agopgsql_perl5-1.8.0
Edmund Mergl [Sun, 27 Sep 1998 19:12:35 +0000 (19:12 +0000)]
pgsql_perl5-1.8.0

26 years agomulti-byte fix from Tatsuo Ishii
Bruce Momjian [Fri, 25 Sep 1998 15:51:02 +0000 (15:51 +0000)]
multi-byte fix from Tatsuo Ishii

26 years agoAdd new Makefile from Jan.
Bruce Momjian [Fri, 25 Sep 1998 15:50:02 +0000 (15:50 +0000)]
Add new Makefile from Jan.

26 years agoBracket filename in LOAD error message with single quotes
Thomas G. Lockhart [Fri, 25 Sep 1998 13:47:27 +0000 (13:47 +0000)]
Bracket filename in LOAD error message with single quotes
 to clarify actual path used.

26 years agoUpdate to track gram.y.
Thomas G. Lockhart [Fri, 25 Sep 1998 13:45:12 +0000 (13:45 +0000)]
Update to track gram.y.
 Had removed PARSEDEBUG statements...

26 years agoCleanup markup and minor editing to prepare for first release.
Thomas G. Lockhart [Fri, 25 Sep 1998 13:42:46 +0000 (13:42 +0000)]
Cleanup markup and minor editing to prepare for first release.

26 years agoInclude the graphics directory in build lookup path.
Thomas G. Lockhart [Fri, 25 Sep 1998 13:41:25 +0000 (13:41 +0000)]
Include the graphics directory in build lookup path.

26 years agoClean up existing debugging print statements.
Thomas G. Lockhart [Fri, 25 Sep 1998 13:38:32 +0000 (13:38 +0000)]
Clean up existing debugging print statements.
Modify comment blocks to insulate from pgindent.

26 years agoClean up code in analyze.c for SERIAL data type.
Thomas G. Lockhart [Fri, 25 Sep 1998 13:36:08 +0000 (13:36 +0000)]
Clean up code in analyze.c for SERIAL data type.
Remove _all_ PARSEDEBUG print statements.

26 years agoFix comment for regproc.
Bruce Momjian [Fri, 25 Sep 1998 03:36:33 +0000 (03:36 +0000)]
Fix comment for regproc.

26 years agoMB patches from Tatsuo Ishii
Bruce Momjian [Fri, 25 Sep 1998 01:46:25 +0000 (01:46 +0000)]
MB patches from Tatsuo Ishii

26 years agoFix for datetime from Tatsuo Ishii
Bruce Momjian [Wed, 23 Sep 1998 17:51:46 +0000 (17:51 +0000)]
Fix for datetime from Tatsuo Ishii

26 years agoFix for oidArray from Christopher Oliver.
Bruce Momjian [Wed, 23 Sep 1998 17:50:12 +0000 (17:50 +0000)]
Fix for oidArray from Christopher Oliver.

26 years agoAllow 8-key indexes.
Bruce Momjian [Wed, 23 Sep 1998 04:22:14 +0000 (04:22 +0000)]
Allow 8-key indexes.

26 years agoAdd in, I think, support for %lld in snprintf(), specifically with
Marc G. Fournier [Wed, 23 Sep 1998 03:11:24 +0000 (03:11 +0000)]
Add in, I think, support for %lld in snprintf(), specifically with
Irix in mind...

26 years agoFix for SELECT NOT boolfield FROM table
Bruce Momjian [Tue, 22 Sep 1998 21:48:27 +0000 (21:48 +0000)]
Fix for SELECT NOT boolfield FROM table

26 years agoCleanup for oid8[] from Tatsuo Ishii.
Bruce Momjian [Tue, 22 Sep 1998 20:28:15 +0000 (20:28 +0000)]
Cleanup for oid8[] from Tatsuo Ishii.

26 years agoHere are some patches to fix up the regression tests so that the union
Bruce Momjian [Tue, 22 Sep 1998 16:52:59 +0000 (16:52 +0000)]
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.

Cheers,
Brook

26 years agoAdd .h to string include.
Bruce Momjian [Tue, 22 Sep 1998 16:41:19 +0000 (16:41 +0000)]
Add .h to string include.

26 years agoEditing and markup cleanup.
Thomas G. Lockhart [Tue, 22 Sep 1998 15:48:03 +0000 (15:48 +0000)]
Editing and markup cleanup.

26 years agoFix for AND/OR handling.
Bruce Momjian [Mon, 21 Sep 1998 15:41:28 +0000 (15:41 +0000)]
Fix for AND/OR handling.

26 years agoFrom: Michael Meskes <meskes@usa.net>
Marc G. Fournier [Mon, 21 Sep 1998 05:55:23 +0000 (05:55 +0000)]
From: Michael Meskes <meskes@usa.net>

docs improvement for ecpg..

26 years agoFrom: Michael Meskes <meskes@usa.net>
Marc G. Fournier [Mon, 21 Sep 1998 05:52:55 +0000 (05:52 +0000)]
From: Michael Meskes <meskes@usa.net>

+ Mon Aug 31 09:40:04 CEST 1998
+
+       - Minor patch to Makefile
+       - Put pgc.l in sync with scan.l
+
+ Tue Sep  1 11:31:05 CEST 1998
+
+       - Fixed another bug in preproc.y
+
+ Thu Sep  3 12:21:16 CEST 1998
+
+       - Sync preproc.y with gram.y
+
+ Mon Sep 14 09:21:02 CEST 1998
+
+       - Sync preproc.y with gram.y yet again
+
+ Thu Sep 17 08:55:33 CEST 1998
+
+       - Synced preproc.y and gram.y one more time
+
+ Thu Sep 17 19:23:24 CEST 1998
+
+       - Added missing ´;´ in preproc.y
+       - Set version to 2.4.2

26 years agoFix for \z formatting from Tom Lane.
Bruce Momjian [Mon, 21 Sep 1998 02:25:29 +0000 (02:25 +0000)]
Fix for \z formatting from Tom Lane.

26 years agoThis patch covers several to-do items that I had for libpgtcl:
Bruce Momjian [Mon, 21 Sep 1998 01:02:04 +0000 (01:02 +0000)]
This patch covers several to-do items that I had for libpgtcl:

* It works under both Tcl 7.6 and Tcl 8.0 now.  (The code claims to
  work under Tcl 7.5 as well, but I have no way to test that ---
  if anyone still cares, please check it with 7.5.)

* pg_listen suppresses extra LISTEN commands and correctly sends an
  UNLISTEN when the last listen request for a relation is cancelled.
  (Note this means it will not work with pre-6.4 backends, but that
  was true already because it depends on the current libpq, which
  only speaks protocol 2.0.)

* Added -error option to pg_result so that there's some way to find
  out what you did wrong ;-)

* Miscellaneous cleanups of code comments and overenthusiastic #includes.

BTW, I bumped the package version number from 1.2 to 1.3.  Is this
premature?  Does someone run around and do that routinely before
each pgsql release?

regards, tom lane

26 years agoautoconf
Bruce Momjian [Sun, 20 Sep 1998 05:01:04 +0000 (05:01 +0000)]
autoconf

26 years agoFix for memory leak, configure path fix, from Tom Lane.
Bruce Momjian [Sun, 20 Sep 1998 04:57:40 +0000 (04:57 +0000)]
Fix for memory leak, configure path fix, from Tom Lane.

26 years agoFix memory leak from Tom Lane.
Bruce Momjian [Sun, 20 Sep 1998 04:51:12 +0000 (04:51 +0000)]
Fix memory leak from Tom Lane.

26 years agoI also noticed that pg_dump contains a copy of the same
Bruce Momjian [Sun, 20 Sep 1998 03:18:43 +0000 (03:18 +0000)]
I also noticed that pg_dump contains a copy of the same
prompt_for_password code that psql does.  We fixed psql a month or
two back to permit usernames and passwords longer than 8 characters.
I propagated the same fix into pg_dump.

Tom Lane

26 years agoRegression test cleanup.
Bruce Momjian [Fri, 18 Sep 1998 21:47:27 +0000 (21:47 +0000)]
Regression test cleanup.

26 years agoNS32K lock patch reversed.
Bruce Momjian [Fri, 18 Sep 1998 17:18:41 +0000 (17:18 +0000)]
NS32K lock patch reversed.

26 years agoFixes for VC and libpq.
Bruce Momjian [Fri, 18 Sep 1998 16:46:07 +0000 (16:46 +0000)]
Fixes for VC and libpq.

Magnus Hagander

26 years agoFix for NS32K machine.
Bruce Momjian [Fri, 18 Sep 1998 05:36:24 +0000 (05:36 +0000)]
Fix for NS32K machine.

26 years agofix for aix snprintf
Bruce Momjian [Fri, 18 Sep 1998 05:20:22 +0000 (05:20 +0000)]
fix for aix snprintf

26 years agoRemove /usr/local/* from templates.
Bruce Momjian [Fri, 18 Sep 1998 05:00:52 +0000 (05:00 +0000)]
Remove /usr/local/* from templates.

26 years agoFix for \df.
Bruce Momjian [Fri, 18 Sep 1998 04:43:20 +0000 (04:43 +0000)]
Fix for \df.

26 years agoNew gram.c
Bruce Momjian [Fri, 18 Sep 1998 03:02:47 +0000 (03:02 +0000)]
New gram.c

26 years agoUpdate entries for MkLinux and Linux/ix86 for Postgres v6.4.
Thomas G. Lockhart [Wed, 16 Sep 1998 14:48:41 +0000 (14:48 +0000)]
Update entries for MkLinux and Linux/ix86 for Postgres v6.4.

26 years agoAdd Unix-specific installation and configuration info for psqlodbc.
Thomas G. Lockhart [Wed, 16 Sep 1998 14:44:00 +0000 (14:44 +0000)]
Add Unix-specific installation and configuration info for psqlodbc.

26 years agoMarkup and editing adjustments...
Thomas G. Lockhart [Wed, 16 Sep 1998 14:43:12 +0000 (14:43 +0000)]
Markup and editing adjustments...

26 years agoConsolidate Jan's rules test into one file.
Thomas G. Lockhart [Wed, 16 Sep 1998 14:35:37 +0000 (14:35 +0000)]
Consolidate Jan's rules test into one file.
Remove dependency on a specific Postgres user name in the results
 (Check result against CURRENT_USER with a boolean instead).

26 years agoSupport specifying PRIMARY KEY for the SERIAL type.
Thomas G. Lockhart [Wed, 16 Sep 1998 14:29:35 +0000 (14:29 +0000)]
Support specifying PRIMARY KEY for the SERIAL type.
Change DEFAULT NULL to send back a NULL pointer
 rather than a string "NULL". This seems to work, where sending
 the string led to type conversion problems (and probably the wrong
 thing anyway).

26 years agoSupport specifying PRIMARY KEY for the SERIAL type.
Thomas G. Lockhart [Wed, 16 Sep 1998 14:25:37 +0000 (14:25 +0000)]
Support specifying PRIMARY KEY for the SERIAL type.
Check for a constraint if is_sequence is set and omit making
 a UNIQUE index if so, since the primary key will cover that for us.

26 years agoUse oper_select_candidate() for unary operators
Thomas G. Lockhart [Wed, 16 Sep 1998 14:22:22 +0000 (14:22 +0000)]
Use oper_select_candidate() for unary operators
 rather than func_select_candidate().
Fix oper_select_candidate() to work with a single operator argument.
Repair left operator checking for null return from candidate list.

26 years agoForgot to remove README-1ST from the repository ...
Marc G. Fournier [Tue, 15 Sep 1998 02:25:09 +0000 (02:25 +0000)]
Forgot to remove README-1ST from the repository ...

26 years agotabularized a little bit...
Marc G. Fournier [Mon, 14 Sep 1998 04:45:27 +0000 (04:45 +0000)]
tabularized a little bit...

26 years agoA sort of 'log' of what operating systems are supported, and the date
Marc G. Fournier [Mon, 14 Sep 1998 04:38:41 +0000 (04:38 +0000)]
A sort of 'log' of what operating systems are supported, and the date
last tested...

26 years agoChange order of install...installing interfaces is the last to be done,
Marc G. Fournier [Mon, 14 Sep 1998 04:17:40 +0000 (04:17 +0000)]
Change order of install...installing interfaces is the last to be done,
as, if not installing as root (which nobody *should* be doing, of course),
the perl install fails, which means that both bin and man directories
are not installed :(

This way, only thing that doesn't get installed is perl interface...

26 years agoAdd new make_oidjoin_check utility and template1_check.sql. Fix some
Bruce Momjian [Mon, 14 Sep 1998 01:14:49 +0000 (01:14 +0000)]
Add new make_oidjoin_check utility and template1_check.sql.  Fix some
pg_operator problems.

26 years agoRemove remnant from obsolete char16 data type.
Thomas G. Lockhart [Sun, 13 Sep 1998 14:29:06 +0000 (14:29 +0000)]
Remove remnant from obsolete char16 data type.

26 years agoUpdate to new DECLARE and FETCH features in gram.y.
Thomas G. Lockhart [Sun, 13 Sep 1998 04:20:16 +0000 (04:20 +0000)]
Update to new DECLARE and FETCH features in gram.y.

26 years agoSupport SQL92-ish DECLARE and FETCH commands.
Thomas G. Lockhart [Sun, 13 Sep 1998 04:19:33 +0000 (04:19 +0000)]
Support SQL92-ish DECLARE and FETCH commands.
Adds a few new keywords, but all are allowed as column names etc.

26 years agoHere are some additional patches needed to get the UnixWare 7 C++
Bruce Momjian [Sun, 13 Sep 1998 04:00:44 +0000 (04:00 +0000)]
Here are some additional patches needed to get the UnixWare 7 C++
compiler to
attempt to compile libpq++.  The patches address the following problems:

1.  In my first pass at changing the libpq++ makefile, I forgot to
include the
    PORTNAME in the Makefile.in file.

2.  The UnixWare 7 C++ compiler did not like the '-K alloca' option in
CXXFLAGS.

Billy G. Allie

26 years agorename java file for Peter.
Bruce Momjian [Sat, 12 Sep 1998 17:26:04 +0000 (17:26 +0000)]
rename java file for Peter.

26 years agoIrix lock fix from Robert Bruccoleri
Bruce Momjian [Sat, 12 Sep 1998 16:07:53 +0000 (16:07 +0000)]
Irix lock fix from Robert Bruccoleri

26 years agoThe pg_atoi() function uses strtol() to convert the string to numbers. Some
Bruce Momjian [Sat, 12 Sep 1998 16:04:35 +0000 (16:04 +0000)]
The pg_atoi() function uses strtol() to convert the string to numbers.  Some
implementations of strtol() treat empty strings ("") as invalid arguments
while others convert this (erroneously, IHMO) to zero (0).  Assuming that the
expected behaviour of pg_atoi() is to return 0 if it is passed an empty
string, I am supplying the following patch to explictly check for an empty
string in pg_atoi() and return 0 if the string is empty.  The patch will also
trap a NULL character pointer being passed to pg_atoi() and will use elog() to
print out an error message if the input char pointer is NULL.

Billy G. Allie

26 years agoautoconf
Bruce Momjian [Fri, 11 Sep 1998 17:21:20 +0000 (17:21 +0000)]
autoconf

26 years agoRemove lld from LONG LONG name
Bruce Momjian [Fri, 11 Sep 1998 17:16:11 +0000 (17:16 +0000)]
Remove lld from LONG LONG name

26 years agoautoconf
Bruce Momjian [Fri, 11 Sep 1998 17:08:22 +0000 (17:08 +0000)]
autoconf

26 years agoThe attached patches fix the following problems:
Bruce Momjian [Fri, 11 Sep 1998 16:56:24 +0000 (16:56 +0000)]
The attached patches fix the following problems:

1.  The UnixWare tas macro was reformatted (by indent or it like?) which caused
    it to break.  The asm macro construct is very particular about the %mem
    construct -- it has to start in column 1.

2.  When compiling libpq++, g++ was used even if configure found the C++ com-
    piler to be CC.

3.  When compiling libpq++, '-Wno-error' was added to CXXFLAGS, even if the
    compiler wasn't g++.

Billy G. Allie

26 years agoautoconf
Bruce Momjian [Fri, 11 Sep 1998 16:50:20 +0000 (16:50 +0000)]
autoconf

26 years agoRemove %qd.
Bruce Momjian [Fri, 11 Sep 1998 16:43:26 +0000 (16:43 +0000)]
Remove %qd.

26 years agoTatsuo Ishii fix for pg_user crash, with slight modification.
Bruce Momjian [Fri, 11 Sep 1998 16:39:59 +0000 (16:39 +0000)]
Tatsuo Ishii fix for pg_user crash, with slight modification.

26 years ago%lld fix.
Bruce Momjian [Fri, 11 Sep 1998 14:10:53 +0000 (14:10 +0000)]
%lld fix.

26 years agoupdate pginterface
Bruce Momjian [Fri, 11 Sep 1998 05:18:12 +0000 (05:18 +0000)]
update pginterface

26 years agoUpdate pginterface for 6.4. add manual page.
Bruce Momjian [Fri, 11 Sep 1998 05:14:08 +0000 (05:14 +0000)]
Update pginterface for 6.4. add manual page.

26 years agolong long cleanup
Bruce Momjian [Thu, 10 Sep 1998 21:10:51 +0000 (21:10 +0000)]
long long cleanup

26 years agoAdded attributes for primary/unique/foreign keys...
Vadim B. Mikheev [Thu, 10 Sep 1998 15:32:32 +0000 (15:32 +0000)]
Added attributes for primary/unique/foreign keys...

26 years agoFix for length in libpq from Tom Lane.
Bruce Momjian [Thu, 10 Sep 1998 15:18:06 +0000 (15:18 +0000)]
Fix for length in libpq from Tom Lane.

26 years agoautoconf
Bruce Momjian [Thu, 10 Sep 1998 05:40:16 +0000 (05:40 +0000)]
autoconf

26 years ago%lld not %Ld
Bruce Momjian [Thu, 10 Sep 1998 05:36:00 +0000 (05:36 +0000)]
%lld not %Ld

26 years agoMore bsdi 4.0 additions.
Bruce Momjian [Thu, 10 Sep 1998 04:59:01 +0000 (04:59 +0000)]
More bsdi 4.0 additions.

26 years agobsdi 4.0.
Bruce Momjian [Thu, 10 Sep 1998 04:46:45 +0000 (04:46 +0000)]
bsdi 4.0.