]> granicus.if.org Git - postgresql/log
postgresql
26 years agoMove FAQ_DEV to docs directory, where it belongs.
Bruce Momjian [Fri, 22 May 1998 04:20:53 +0000 (04:20 +0000)]
Move FAQ_DEV to docs directory, where it belongs.

26 years agoFrom: David Hartwig <daveh@insightdist.com>
Marc G. Fournier [Thu, 21 May 1998 03:53:51 +0000 (03:53 +0000)]
From: David Hartwig <daveh@insightdist.com>

Here is a patch to remove the requirement that ORDER/GROUP BY clause
identifiers be included in the target list.

26 years agoFrom: Michael Meskes <meskes@topsystem.de>
Marc G. Fournier [Thu, 21 May 1998 03:52:37 +0000 (03:52 +0000)]
From: Michael Meskes <meskes@topsystem.de>

+ Tue May 19 11:49:34 CEST 1998
+
+       - Tested (and fixed) 'set connection'
+       - Fixed string notation in C
+       - Set version to 2.3.2

26 years agoAllow cancel from client of backend query. Change some int variables
Bruce Momjian [Tue, 19 May 1998 18:05:58 +0000 (18:05 +0000)]
Allow cancel from client of backend query.  Change some int variables
to bool's.

26 years agoFrom: Michael Meskes <meskes@topsystem.de>
Marc G. Fournier [Mon, 18 May 1998 16:05:05 +0000 (16:05 +0000)]
From: Michael Meskes <meskes@topsystem.de>

+
+ Wed May  6 16:09:45 CEST 1998
+
+       - Some more cleanups in the library.
+
+ Thu May  7 12:34:28 CEST 1998
+
+       - Made CONNECT and DISCONNECT statement more SQL3 compliant.
+       - Changed the API for the ECPGconnect function to be able to handle
+         hostnames and ports
+
+ Fri May  8 13:54:45 CEST 1998
+       - More changes to the parser. The connect statement now allows
+         ORACLE style logins.
+       - db-name is accepted in two ways:
+               - <dbname>[@<server>][:<port>]
+               - esql:postgresql://<server>[:<port>][/<dbname>]
+
+ Mon May 11 10:28:37 CEST 1998
+
+       - Added '? options' to connect call.
+       - Also allow USING as keyword for the password
+
+ Thu May 14 15:09:58 CEST 1998
+
+       - Changed preproc.y and pgc.l according to the parser changes in the
+         backend.
+
+ Fri May 15 09:55:21 CEST 1998
+
+       - Added connection_name handling
+
+
+ Mon May 18 10:33:58 CEST 1998
+
+       - Fixed some more bugs
+       - Set version to 2.3.1
+       - Set library version to 2.2

26 years agoFrom: "Aldrin L." <aldrin@americasnet.com>
Marc G. Fournier [Fri, 15 May 1998 20:10:42 +0000 (20:10 +0000)]
From: "Aldrin L." <aldrin@americasnet.com>

Subject: [INTERFACES] mSQL Compatibility Library (fwd)

26 years agoAnother \f\ fix for psql.
Bruce Momjian [Fri, 15 May 1998 01:57:33 +0000 (01:57 +0000)]
Another \f\  fix for psql.

26 years agoPass atttypmod to the frontend.
Bruce Momjian [Thu, 14 May 1998 17:18:14 +0000 (17:18 +0000)]
Pass atttypmod to the frontend.

26 years agoFirst reference manual.
Thomas G. Lockhart [Wed, 13 May 1998 05:34:39 +0000 (05:34 +0000)]
First reference manual.

26 years agoFirst files for reference pages.
Thomas G. Lockhart [Wed, 13 May 1998 05:34:00 +0000 (05:34 +0000)]
First files for reference pages.

26 years agoFirst changes for reference pages. Fix markup in the docguide.
Thomas G. Lockhart [Wed, 13 May 1998 05:33:32 +0000 (05:33 +0000)]
First changes for reference pages. Fix markup in the docguide.

26 years agoRemove extraneous -DPARSEDEBUG from CFLAGS options.
Thomas G. Lockhart [Wed, 13 May 1998 04:54:16 +0000 (04:54 +0000)]
Remove extraneous -DPARSEDEBUG from CFLAGS options.

26 years agoMade a copy of errors with the AC_TRY_RUN() macro...appears to work better
Marc G. Fournier [Wed, 13 May 1998 04:01:44 +0000 (04:01 +0000)]
Made a copy of errors with the AC_TRY_RUN() macro...appears to work better
under FreeBSD for DBL_MIN check now...

26 years agoAdd a check for DBL_MIN problem...not sure if this is right...needs
Marc G. Fournier [Wed, 13 May 1998 03:44:48 +0000 (03:44 +0000)]
Add a check for DBL_MIN problem...not sure if this is right...needs
testing...

26 years agoRemove added NullProc define, and use fmgr.h value from fmgr.h.
Bruce Momjian [Wed, 13 May 1998 03:44:24 +0000 (03:44 +0000)]
Remove added NullProc define, and use fmgr.h value from fmgr.h.

26 years ago|I noticed that the -assignbyidx function of -result in libpgtcl
Bruce Momjian [Wed, 13 May 1998 03:29:12 +0000 (03:29 +0000)]
|I noticed that the -assignbyidx function of -result in libpgtcl
is not |documented, here is the relevant patch for it

Anton

26 years agoFix to allow \f \ to make spaces as delimiter.
Bruce Momjian [Wed, 13 May 1998 03:27:07 +0000 (03:27 +0000)]
Fix to allow \f \ to make spaces as delimiter.

26 years agoRemove --disable in configure
Bruce Momjian [Tue, 12 May 1998 23:14:00 +0000 (23:14 +0000)]
Remove --disable in configure

26 years agoRemove --disabled options from configure
Bruce Momjian [Tue, 12 May 1998 23:12:42 +0000 (23:12 +0000)]
Remove --disabled options from configure

26 years agoThe attached patch corrects two problems with autoconfiguration of
Bruce Momjian [Tue, 12 May 1998 23:05:12 +0000 (23:05 +0000)]
The attached patch corrects two problems with autoconfiguration of
psql in Postgres 6.3.2.  Both of these problems were complained of
recently in pgsql-questions:

1. In the right circumstances, psql.c will fail to compile due to
trying
   to include a nonexistent <history.h>.  (Thread "Compile-time
   error" around 17 Apr 98.) 2. In other circumstances, psql will
compile but does not provide
   command history capability, even though the underlying readline
   library supports it.  (Various threads, most recently "query
   repetition in psql" around 29 Apr.)

Tom Lane

26 years agoGive proper error on psql \copy use.
Bruce Momjian [Tue, 12 May 1998 23:04:01 +0000 (23:04 +0000)]
Give proper error on psql \copy use.

26 years agoCleanups for large objects, so file is trucated on open, fix for
Bruce Momjian [Tue, 12 May 1998 21:44:08 +0000 (21:44 +0000)]
Cleanups for large objects, so file is trucated on open, fix for
solaris/spare shared libararies, new error message for postmaster
startup, and makefile cleanups.

26 years agoSomeone remove a #define too much from pg_proc.h which breaks
Bruce Momjian [Tue, 12 May 1998 17:46:50 +0000 (17:46 +0000)]
Someone remove a #define too much from pg_proc.h which breaks
compiling nbtsearch.c after configuring with --enable-cassert.
Patch below.

-- --------------------------------------------- Göran Thyni,
sysadm, JMS Bildbasen, Kiruna

26 years agoAdd sys/time.h to fe-misc.c, prevent pgtclsh from using old libaries,
Bruce Momjian [Tue, 12 May 1998 15:42:09 +0000 (15:42 +0000)]
Add sys/time.h to fe-misc.c, prevent pgtclsh from using old libaries,
and allow CUSTOM_COPT to appear in compile AND LINK commands.

26 years agoChanged error message slightly.
Thomas G. Lockhart [Sat, 9 May 1998 23:50:24 +0000 (23:50 +0000)]
Changed error message slightly.

26 years agoAdd some more node print routines for debugging only
Thomas G. Lockhart [Sat, 9 May 1998 23:46:35 +0000 (23:46 +0000)]
Add some more node print routines for debugging only
 (inside of #ifdef PARSEDEBUG blocks).

26 years agoFix CACHEDEBUG debugging statements; usually not used and apparently
Thomas G. Lockhart [Sat, 9 May 1998 23:45:29 +0000 (23:45 +0000)]
Fix CACHEDEBUG debugging statements; usually not used and apparently
 broke a long time ago when some definitions changed.

26 years agoChange parameters to func_error().
Thomas G. Lockhart [Sat, 9 May 1998 23:43:45 +0000 (23:43 +0000)]
Change parameters to func_error().

26 years agoAdd capabilities for automatic type conversion.
Thomas G. Lockhart [Sat, 9 May 1998 23:31:34 +0000 (23:31 +0000)]
Add capabilities for automatic type conversion.

26 years agoAdd TIMEZONE_HOUR, TIMEZONE_MINUTE keywords per SQL92 specs.
Thomas G. Lockhart [Sat, 9 May 1998 23:28:49 +0000 (23:28 +0000)]
Add TIMEZONE_HOUR, TIMEZONE_MINUTE keywords per SQL92 specs.

26 years agollow more variations on valid floating point numbers (e.g. ".1", "1e6").
Thomas G. Lockhart [Sat, 9 May 1998 23:27:39 +0000 (23:27 +0000)]
llow more variations on valid floating point numbers (e.g. ".1", "1e6").
Reintroduce fixes for unary minus parsing with leading spaces.

26 years agoImplement TIMEZONE_HOUR, TIMEZONE_MINUTE per SQL92 specs.
Thomas G. Lockhart [Sat, 9 May 1998 23:27:14 +0000 (23:27 +0000)]
Implement TIMEZONE_HOUR, TIMEZONE_MINUTE per SQL92 specs.
Check for and properly ignore FOREIGN KEY column constraints
 (already had fixed same for table constraints).
Define USER as synonym for CURRENT_USER per SQL92 specs
 (no longer allowed as bare column name, sorry).
Re-enable HAVING clause but no fixes elsewhere yet.
Other stuff from today's update of gram.y...

26 years agoAdd parse_coerce.c for type conversion handling.
Thomas G. Lockhart [Sat, 9 May 1998 23:24:27 +0000 (23:24 +0000)]
Add parse_coerce.c for type conversion handling.

26 years agoImplement TIMEZONE_HOUR, TIMEZONE_MINUTE per SQL92 specs.
Thomas G. Lockhart [Sat, 9 May 1998 23:22:15 +0000 (23:22 +0000)]
Implement TIMEZONE_HOUR, TIMEZONE_MINUTE per SQL92 specs.
Check for and properly ignore FOREIGN KEY column constraints
 (already had fixed same for table constraints).
Define USER as synonym for CURRENT_USER per SQL92 specs
 (no longer allowed as bare column name, sorry).
Re-enable HAVING clause but no fixes elsewhere yet.
Make "char" type a synonum for "char(1)" (actually implemented as bpchar).
Compress/compact row-style subselect and operator definitions
 (cut out ~140 lines of code with no change in functionality).
Save string type if specified for DEFAULT clause handling.
Enough for now...

26 years agoAllow more variations on valid floating point numbers (e.g. ".1", "1e6").
Thomas G. Lockhart [Sat, 9 May 1998 23:15:20 +0000 (23:15 +0000)]
Allow more variations on valid floating point numbers (e.g. ".1", "1e6").
Reintroduce fixes for unary minus parsing with leading spaces.

26 years agoMake lines and support routines/operators more visible.
Thomas G. Lockhart [Sat, 9 May 1998 22:48:37 +0000 (22:48 +0000)]
Make lines and support routines/operators more visible.
Add #define's for remaining "builtin" types.

26 years agoAdd routines to convert between varchar and bpchar.
Thomas G. Lockhart [Sat, 9 May 1998 22:45:14 +0000 (22:45 +0000)]
Add routines to convert between varchar and bpchar.
Add routines to allow sizing of varchar and bpchar into target columns.

26 years agoMake lines more visible to the user.
Thomas G. Lockhart [Sat, 9 May 1998 22:44:38 +0000 (22:44 +0000)]
Make lines more visible to the user.

26 years agoAdd bit flags to support timezonehour and minute in data retrieval.
Thomas G. Lockhart [Sat, 9 May 1998 22:43:50 +0000 (22:43 +0000)]
Add bit flags to support timezonehour and minute in data retrieval.

26 years agoMake a few line routines visible.
Thomas G. Lockhart [Sat, 9 May 1998 22:39:55 +0000 (22:39 +0000)]
Make a few line routines visible.
Incorporate patches from Gautam for line/point intersection.

26 years agoDefine "tz_hour" and "tz_minute" arguments to date_part().
Thomas G. Lockhart [Sat, 9 May 1998 22:38:18 +0000 (22:38 +0000)]
Define "tz_hour" and "tz_minute" arguments to date_part().
Fix up "ISO-style" timespan decoding and encoding.

26 years agoAllow building a source tarball.
Thomas G. Lockhart [Sat, 9 May 1998 22:32:03 +0000 (22:32 +0000)]
Allow building a source tarball.
Try to generalize the gzip/tar usage for more portability.

26 years agoMinor markup change.
Thomas G. Lockhart [Sat, 9 May 1998 22:23:38 +0000 (22:23 +0000)]
Minor markup change.

26 years agoAdd missing includes.
Bruce Momjian [Thu, 7 May 1998 16:17:18 +0000 (16:17 +0000)]
Add missing includes.

26 years agoAdd missing file from Tom Lane.
Bruce Momjian [Thu, 7 May 1998 14:52:52 +0000 (14:52 +0000)]
Add missing file from Tom Lane.

26 years agoIt seems the regression tests don't cover copy in/out at all, so
Bruce Momjian [Wed, 6 May 1998 23:53:48 +0000 (23:53 +0000)]
It seems the regression tests don't cover copy in/out at all, so
code that I had assumed was working had not been tested.  Naturally,
it was broken ...

Tom Lane

26 years agoWhat I've done:
Bruce Momjian [Wed, 6 May 1998 23:51:16 +0000 (23:51 +0000)]
What I've done:

1. Rewritten libpq to allow asynchronous clients.

2. Implemented client side of cancel protocol in library,
   and patched psql.c to send a cancel request upon SIGINT.  The
   backend doesn't notice it yet :-(

3. Implemented 'Z' protocol message addition and renaming of
   copy in/out start messages.  These are implemented conditionally,
   ie, the client protocol version is checked; so the code should
   still work with 1.0 clients.

4. Revised protocol and libpq sgml documents (don't have an SGML
   compiler, though, so there may be some markup glitches here).

What remains to be done:

1. Implement addition of atttypmod field to RowDescriptor messages.
   The client-side code is there but ifdef'd out.  I have no idea
   what to change on the backend side.  The field should be sent
   only if protocol >= 2.0, of course.

2. Implement backend response to cancel requests received as OOB
   messages.  (This prolly need not be conditional on protocol
   version; just do it if you get SIGURG.)

3. Update libpq.3.  (I'm hoping this can be generated mechanically
   from libpq.sgml... if not, will do it by hand.)  Is there any
   other doco to fix?

4. Update non-libpq interfaces as necessary.  I patched libpgtcl
   so that it would compile, but haven't tested it.  Dunno what
   needs to be done with the other interfaces.

Have at it!

Tom Lane

26 years agoRemove extra paren in __alpha so it compiles.
Bruce Momjian [Wed, 6 May 1998 23:25:19 +0000 (23:25 +0000)]
Remove extra paren in __alpha so it compiles.

26 years agoFrom: Michael Meskes <meskes@topsystem.de>
Marc G. Fournier [Wed, 6 May 1998 13:03:47 +0000 (13:03 +0000)]
From: Michael Meskes <meskes@topsystem.de>

Tue Apr 28 14:48:41 CEST 1998

      - Put operator "->" back into parser. Note that :foo->bar means the
        C term, but :foo ->bar means the operator "->".

Tue Apr 28 15:49:07 CEST 1998

      - Added exec sql disconnect command.
      - Allow varchar in C to be written in uppercase too.
      - Added whenever option "do break;"

Wed Apr 29 09:17:53 CEST 1998

      - Corrected parsing of C comments.
      - Also allow C++ style comments.
      - Make sure not found is only checked after commands that could
          return it.
      - Added error codes, see ecpgerror.h for details.
      - Added "exec sql <TransactionStmt> release" as disconnect statement
        for compatibility issues.

Thu Apr 30 10:42:10 CEST 1998

      - Added a -t option to disable automatic transaction start.
      - Added sqlerrd[] to sqlca struct.
      - Give back number of tuples affect in sqlca.sqlerrd[2].

Thu Apr 30 13:36:02 CEST 1998

      - Make the return code different in case of different errors.

Wed May  6 11:42:48 CEST 1998

      - Free memory if possible
      - Some bugfixes for bugs I found while changing the memory
          allocation code
      - Now able to fill complete array with one call (see test1.pgc for
          an example)
      - Set version to 2.3.0
      - Set library version to 2.1

26 years agoMissed the __alpha__ to __alpha change...
Marc G. Fournier [Mon, 4 May 1998 23:49:17 +0000 (23:49 +0000)]
Missed the __alpha__ to __alpha change...

From: David Gould <dg@illustra.com>

26 years agoOkay...this should fix the s_lock() patches from David to what he
Marc G. Fournier [Mon, 4 May 1998 16:58:59 +0000 (16:58 +0000)]
Okay...this should fix the s_lock() patches from David to what he
currently has...

From: David Gould <dg@illustra.com>

26 years agoMajor screwed up s_lock patches...need to be fixed...
Marc G. Fournier [Mon, 4 May 1998 15:45:03 +0000 (15:45 +0000)]
Major screwed up s_lock patches...need to be fixed...

26 years agoreturn to normal values
Bruce Momjian [Mon, 4 May 1998 02:09:33 +0000 (02:09 +0000)]
return to normal values

26 years agoFix for missing parens with \g causing psql to get completely
Bruce Momjian [Mon, 4 May 1998 02:02:09 +0000 (02:02 +0000)]
Fix for missing parens with \g causing psql to get completely
confused.

26 years agotest
Bruce Momjian [Fri, 1 May 1998 04:33:58 +0000 (04:33 +0000)]
test

26 years agotest
Bruce Momjian [Fri, 1 May 1998 04:31:02 +0000 (04:31 +0000)]
test

26 years agotest
Bruce Momjian [Fri, 1 May 1998 04:28:03 +0000 (04:28 +0000)]
test

26 years agotest
Bruce Momjian [Fri, 1 May 1998 04:26:52 +0000 (04:26 +0000)]
test

26 years agotest
Bruce Momjian [Fri, 1 May 1998 04:22:24 +0000 (04:22 +0000)]
test

26 years agotest
Bruce Momjian [Fri, 1 May 1998 04:19:55 +0000 (04:19 +0000)]
test

26 years agotest
Bruce Momjian [Fri, 1 May 1998 04:18:15 +0000 (04:18 +0000)]
test

26 years agotest
Bruce Momjian [Fri, 1 May 1998 04:15:50 +0000 (04:15 +0000)]
test

26 years agotest
Bruce Momjian [Thu, 30 Apr 1998 14:54:27 +0000 (14:54 +0000)]
test

26 years agoNo reason to show flags in root error message.
Bruce Momjian [Thu, 30 Apr 1998 14:25:13 +0000 (14:25 +0000)]
No reason to show flags in root error message.

26 years agoFrom: Jeroen van Vianen <jeroenv@design.nl>
Marc G. Fournier [Wed, 29 Apr 1998 12:41:29 +0000 (12:41 +0000)]
From: Jeroen van Vianen <jeroenv@design.nl>

Attached patch will add a version() function to Postges, e.g.

template1=> select version();
version
------------------------------------------------------------
PostgreSQL 6.3.2 on i586-pc-linux-gnu, compiled by gcc 2.8.1
(1 row)

26 years agoMissed adding two files from the MultiByte patch...
Marc G. Fournier [Wed, 29 Apr 1998 12:26:22 +0000 (12:26 +0000)]
Missed adding two files from the MultiByte patch...

26 years agoFrom: Oliver Elphick <olly@lfix.co.uk>
Marc G. Fournier [Wed, 29 Apr 1998 02:04:01 +0000 (02:04 +0000)]
From: Oliver Elphick <olly@lfix.co.uk>

If PQfn() receives NOTICEs from the backend, it fails because there is no
provision to deal with them.

This patch (supplied by Anders Hammarquist <iko@netg.se> to me as Debian
maintainer of postgresql) cures the problem:

26 years agotest
Bruce Momjian [Wed, 29 Apr 1998 01:47:40 +0000 (01:47 +0000)]
test

26 years agotest
Bruce Momjian [Wed, 29 Apr 1998 01:29:31 +0000 (01:29 +0000)]
test

26 years agotest
Bruce Momjian [Wed, 29 Apr 1998 01:21:08 +0000 (01:21 +0000)]
test

26 years agotest
Bruce Momjian [Wed, 29 Apr 1998 00:56:13 +0000 (00:56 +0000)]
test

26 years agotest
Bruce Momjian [Wed, 29 Apr 1998 00:28:56 +0000 (00:28 +0000)]
test

26 years agotest
Bruce Momjian [Wed, 29 Apr 1998 00:25:42 +0000 (00:25 +0000)]
test

26 years agotest
Bruce Momjian [Wed, 29 Apr 1998 00:24:30 +0000 (00:24 +0000)]
test

26 years agotest
Bruce Momjian [Wed, 29 Apr 1998 00:13:10 +0000 (00:13 +0000)]
test

26 years agotest
Bruce Momjian [Wed, 29 Apr 1998 00:10:35 +0000 (00:10 +0000)]
test

26 years agotest
Bruce Momjian [Tue, 28 Apr 1998 21:51:34 +0000 (21:51 +0000)]
test

26 years agotest
Bruce Momjian [Tue, 28 Apr 1998 19:50:22 +0000 (19:50 +0000)]
test

26 years agotest
Bruce Momjian [Tue, 28 Apr 1998 19:24:08 +0000 (19:24 +0000)]
test

26 years agotest
Bruce Momjian [Tue, 28 Apr 1998 19:20:22 +0000 (19:20 +0000)]
test

26 years agotest
Bruce Momjian [Tue, 28 Apr 1998 18:59:46 +0000 (18:59 +0000)]
test

26 years agoAdd cursor name to man page.
Bruce Momjian [Tue, 28 Apr 1998 18:39:11 +0000 (18:39 +0000)]
Add cursor name to man page.

26 years agoInclude full tools installation instructions from Tom Helbekkmo.
Thomas G. Lockhart [Tue, 28 Apr 1998 14:57:48 +0000 (14:57 +0000)]
Include full tools installation instructions from Tom Helbekkmo.
Include small section on authoring and Makefile configuration.
Rearrange section order.

26 years agoInclude info on setting compiler options on the command line
Thomas G. Lockhart [Tue, 28 Apr 1998 14:55:45 +0000 (14:55 +0000)]
Include info on setting compiler options  on the command line
 when building executables.

26 years agoFix some typos.
Thomas G. Lockhart [Tue, 28 Apr 1998 14:54:24 +0000 (14:54 +0000)]
Fix some typos.

26 years agoInclude e-mail exchange between Jan and Andreas to start info on rules.
Thomas G. Lockhart [Tue, 28 Apr 1998 14:52:46 +0000 (14:52 +0000)]
Include e-mail exchange between Jan and Andreas to start info on rules.

26 years agoMake Linux startup support sh and csh.
Bruce Momjian [Tue, 28 Apr 1998 03:25:33 +0000 (03:25 +0000)]
Make Linux startup support sh and csh.

26 years agoFrom: t-ishii@sra.co.jp
Marc G. Fournier [Mon, 27 Apr 1998 17:10:50 +0000 (17:10 +0000)]
From: t-ishii@sra.co.jp

Hi, here are patches I promised (against 6.3.2):

* character_length(), position(), substring() are now aware of
          multi-byte characters
* add octet_length()
* add --with-mb option to configure
* new regression tests for EUC_KR
  (contributed by "Soonmyung. Hong" <hong@lunaris.hanmesoft.co.kr>)
* add some test cases to the EUC_JP regression test
* fix problem in regress/regress.sh in case of System V
* fix toupper(), tolower() to handle 8bit chars

note that:

o  patches for both configure.in and configure are
included. maybe the one for configure is not necessary.

o pg_proc.h was modified to add octet_length(). I used OIDs
(1374-1379) for that. Please let me know if these numbers are not
appropriate.

26 years agoFrom: Jun Kuwamura <juk@rccm.co.jp>
Marc G. Fournier [Mon, 27 Apr 1998 16:59:12 +0000 (16:59 +0000)]
From: Jun Kuwamura <juk@rccm.co.jp>

  I do not know about these contributions well as I only made the binaries
to contribute to a Japanese Linux package.(I did not test them.)  But I
try to make some brief introduction about the contrib directory with my
poor English.  Here is a draft of README about contrib directory:

26 years agoshow the index used in an explain
Marc G. Fournier [Mon, 27 Apr 1998 16:57:09 +0000 (16:57 +0000)]
show the index used in an explain

From: Zeugswetter Andreas SARZ <Andreas.Zeugswetter@telecom.at>

26 years agoFrom: Tom Lane <tgl@sss.pgh.pa.us>
Marc G. Fournier [Mon, 27 Apr 1998 14:55:46 +0000 (14:55 +0000)]
From: Tom Lane <tgl@sss.pgh.pa.us>

HP-UX (all versions) requires shared libraries to have execute
permission, and really needs them to be exactly mode 555 for
performance reasons.  The standard configure/install procedure
installs libpq.sl as mode 644, which DOES NOT WORK.

The attached patch modifies the makefiles to distinguish
INSTL_LIB_OPTS (install mode for ordinary libraries) from
INSTL_SHLIB_OPTS (mode for shared libs), and adds a test
to configure to set INSTL_SHLIB_OPTS="-m 555" when on HP-UX.

26 years agoFrom: Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu>
Marc G. Fournier [Mon, 27 Apr 1998 14:46:51 +0000 (14:46 +0000)]
From: Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu>

        Ok, I have finally gotten all of the defines for Dec/Alpha and
Linux/Alpha sorted out as Marc asked. There is no longer any need for
'-Dalpha' or '-Dlinuxalpha' in either the Dec/Alpha or the Linux/Alpha
template files (./src/template/{alpha,linuxalpha}). I have replaced every
instance of 'alpha' or '__alpha__' with '__alpha', as that appears to be
the common symbol between C compilers on both operating systems (RH4.2 &
DecUnix 4.0b) for alpha.

26 years agoFrom: Michael Meskes <meskes@topsystem.de>
Marc G. Fournier [Mon, 27 Apr 1998 14:35:58 +0000 (14:35 +0000)]
From: Michael Meskes <meskes@topsystem.de>

And the next update. Now you can use only parts of a struct like this:

exec sql select a into :struct.string from foo;

26 years agoAdd Darren's char2-16 files.
Bruce Momjian [Mon, 27 Apr 1998 13:50:03 +0000 (13:50 +0000)]
Add Darren's char2-16 files.

26 years agoThis patch...
Bruce Momjian [Mon, 27 Apr 1998 04:08:07 +0000 (04:08 +0000)]
This patch...

1. Removes the unnecessary "#define AbcRegProcedure 123"'s from
pg_proc.h.

2. Changes those #defines to use the names already defined in
fmgr.h.

3. Forces the make of fmgr.h in backend/Makefile instead of having
it
   made as a dependency in access/common/Makefile  *hack*hack*hack*

4. Rearranged the #includes to a less helter-skelter arrangement,
also
    changing <file.h> to "file.h" to signify a non-system header.

5. Removed "pg_proc.h" from files where its only purpose was for
the
   #defines removed in item #1.

6. Added "fmgr.h" to each file changed for completeness sake.

Turns out that #6 was not necessary for some files because fmgr.h
was being included in a roundabout way SIX levels deep by the first
include.

"access/genam.h"
 ->"access/relscan.h"
   ->"utils/rel.h"
     ->"access/strat.h"
       ->"access/skey.h"
 ->"fmgr.h"

So adding fmgr.h really didn't add anything to the compile, hopefully
just made it clearer to the programmer.

S Darren.

26 years agoAdd prper perl config testing.
Bruce Momjian [Mon, 27 Apr 1998 03:56:59 +0000 (03:56 +0000)]
Add prper perl config testing.

26 years agomanual page update from Oliver Elphick
Bruce Momjian [Mon, 27 Apr 1998 03:41:33 +0000 (03:41 +0000)]
manual page update from Oliver Elphick
Oliver.Elphick@lfix.co.uk

26 years agoFix cc-specifc compiler flags in templatees.
Bruce Momjian [Mon, 27 Apr 1998 03:32:11 +0000 (03:32 +0000)]
Fix cc-specifc compiler flags in templatees.

26 years agoFixed table type lengths for Maurice.
Bruce Momjian [Mon, 27 Apr 1998 03:19:10 +0000 (03:19 +0000)]
Fixed table type lengths for Maurice.

26 years agoImproved version from Claudiu
Bruce Momjian [Mon, 27 Apr 1998 03:07:18 +0000 (03:07 +0000)]
Improved version from Claudiu