Marc G. Fournier [Mon, 18 May 1998 16:05:05 +0000 (16:05 +0000)]
From: Michael Meskes
+
+ 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:
+ - [@][:]
+ - esql:postgresql://[:][/]
+
+ 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
Marc G. Fournier [Fri, 15 May 1998 20:10:42 +0000 (20:10 +0000)]
From: "Aldrin L."
Subject: [INTERFACES] mSQL Compatibility Library (fwd)
Bruce Momjian [Fri, 15 May 1998 01:57:33 +0000 (01:57 +0000)]
Another \f\ fix for psql.
Bruce Momjian [Thu, 14 May 1998 17:18:14 +0000 (17:18 +0000)]
Pass atttypmod to the frontend.
Thomas G. Lockhart [Wed, 13 May 1998 05:34:39 +0000 (05:34 +0000)]
First reference manual.
Thomas G. Lockhart [Wed, 13 May 1998 05:34:00 +0000 (05:34 +0000)]
First files for reference pages.
Thomas G. Lockhart [Wed, 13 May 1998 05:33:32 +0000 (05:33 +0000)]
First changes for reference pages. Fix markup in the docguide.
Thomas G. Lockhart [Wed, 13 May 1998 04:54:16 +0000 (04:54 +0000)]
Remove extraneous -DPARSEDEBUG from CFLAGS options.
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...
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...
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.
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
Bruce Momjian [Wed, 13 May 1998 03:27:07 +0000 (03:27 +0000)]
Fix to allow \f \ to make spaces as delimiter.
Bruce Momjian [Tue, 12 May 1998 23:14:00 +0000 (23:14 +0000)]
Remove --disable in configure
Bruce Momjian [Tue, 12 May 1998 23:12:42 +0000 (23:12 +0000)]
Remove --disabled options from configure
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 . (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
Bruce Momjian [Tue, 12 May 1998 23:04:01 +0000 (23:04 +0000)]
Give proper error on psql \copy use.
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.
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
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.
Thomas G. Lockhart [Sat, 9 May 1998 23:50:24 +0000 (23:50 +0000)]
Changed error message slightly.
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).
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.
Thomas G. Lockhart [Sat, 9 May 1998 23:43:45 +0000 (23:43 +0000)]
Change parameters to func_error().
Thomas G. Lockhart [Sat, 9 May 1998 23:31:34 +0000 (23:31 +0000)]
Add capabilities for automatic type conversion.
Thomas G. Lockhart [Sat, 9 May 1998 23:28:49 +0000 (23:28 +0000)]
Add TIMEZONE_HOUR, TIMEZONE_MINUTE keywords per SQL92 specs.
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.
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...
Thomas G. Lockhart [Sat, 9 May 1998 23:24:27 +0000 (23:24 +0000)]
Add parse_coerce.c for type conversion handling.
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...
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.
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.
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.
Thomas G. Lockhart [Sat, 9 May 1998 22:44:38 +0000 (22:44 +0000)]
Make lines more visible to the user.
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.
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.
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.
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.
Thomas G. Lockhart [Sat, 9 May 1998 22:23:38 +0000 (22:23 +0000)]
Minor markup change.
Bruce Momjian [Thu, 7 May 1998 16:17:18 +0000 (16:17 +0000)]
Add missing includes.
Bruce Momjian [Thu, 7 May 1998 14:52:52 +0000 (14:52 +0000)]
Add missing file from Tom Lane.
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
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
Bruce Momjian [Wed, 6 May 1998 23:25:19 +0000 (23:25 +0000)]
Remove extra paren in __alpha so it compiles.
Marc G. Fournier [Wed, 6 May 1998 13:03:47 +0000 (13:03 +0000)]
From: Michael Meskes
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 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
Marc G. Fournier [Mon, 4 May 1998 23:49:17 +0000 (23:49 +0000)]
Missed the __alpha__ to __alpha change...
From: David Gould
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
Marc G. Fournier [Mon, 4 May 1998 15:45:03 +0000 (15:45 +0000)]
Major screwed up s_lock patches...need to be fixed...
Bruce Momjian [Mon, 4 May 1998 02:09:33 +0000 (02:09 +0000)]
return to normal values
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.
Bruce Momjian [Fri, 1 May 1998 04:33:58 +0000 (04:33 +0000)]
test
Bruce Momjian [Fri, 1 May 1998 04:31:02 +0000 (04:31 +0000)]
test
Bruce Momjian [Fri, 1 May 1998 04:28:03 +0000 (04:28 +0000)]
test
Bruce Momjian [Fri, 1 May 1998 04:26:52 +0000 (04:26 +0000)]
test
Bruce Momjian [Fri, 1 May 1998 04:22:24 +0000 (04:22 +0000)]
test
Bruce Momjian [Fri, 1 May 1998 04:19:55 +0000 (04:19 +0000)]
test
Bruce Momjian [Fri, 1 May 1998 04:18:15 +0000 (04:18 +0000)]
test
Bruce Momjian [Fri, 1 May 1998 04:15:50 +0000 (04:15 +0000)]
test
Bruce Momjian [Thu, 30 Apr 1998 14:54:27 +0000 (14:54 +0000)]
test
Bruce Momjian [Thu, 30 Apr 1998 14:25:13 +0000 (14:25 +0000)]
No reason to show flags in root error message.
Marc G. Fournier [Wed, 29 Apr 1998 12:41:29 +0000 (12:41 +0000)]
From: Jeroen van Vianen
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)
Marc G. Fournier [Wed, 29 Apr 1998 12:26:22 +0000 (12:26 +0000)]
Missed adding two files from the MultiByte patch...
Marc G. Fournier [Wed, 29 Apr 1998 02:04:01 +0000 (02:04 +0000)]
From: Oliver Elphick
If PQfn() receives NOTICEs from the backend, it fails because there is no
provision to deal with them.
This patch (supplied by Anders Hammarquist to me as Debian
maintainer of postgresql) cures the problem:
Bruce Momjian [Wed, 29 Apr 1998 01:47:40 +0000 (01:47 +0000)]
test
Bruce Momjian [Wed, 29 Apr 1998 01:29:31 +0000 (01:29 +0000)]
test
Bruce Momjian [Wed, 29 Apr 1998 01:21:08 +0000 (01:21 +0000)]
test
Bruce Momjian [Wed, 29 Apr 1998 00:56:13 +0000 (00:56 +0000)]
test
Bruce Momjian [Wed, 29 Apr 1998 00:28:56 +0000 (00:28 +0000)]
test
Bruce Momjian [Wed, 29 Apr 1998 00:25:42 +0000 (00:25 +0000)]
test
Bruce Momjian [Wed, 29 Apr 1998 00:24:30 +0000 (00:24 +0000)]
test
Bruce Momjian [Wed, 29 Apr 1998 00:13:10 +0000 (00:13 +0000)]
test
Bruce Momjian [Wed, 29 Apr 1998 00:10:35 +0000 (00:10 +0000)]
test
Bruce Momjian [Tue, 28 Apr 1998 21:51:34 +0000 (21:51 +0000)]
test
Bruce Momjian [Tue, 28 Apr 1998 19:50:22 +0000 (19:50 +0000)]
test
Bruce Momjian [Tue, 28 Apr 1998 19:24:08 +0000 (19:24 +0000)]
test
Bruce Momjian [Tue, 28 Apr 1998 19:20:22 +0000 (19:20 +0000)]
test
Bruce Momjian [Tue, 28 Apr 1998 18:59:46 +0000 (18:59 +0000)]
test
Bruce Momjian [Tue, 28 Apr 1998 18:39:11 +0000 (18:39 +0000)]
Add cursor name to man page.
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.
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.
Thomas G. Lockhart [Tue, 28 Apr 1998 14:54:24 +0000 (14:54 +0000)]
Fix some typos.
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.
Bruce Momjian [Tue, 28 Apr 1998 03:25:33 +0000 (03:25 +0000)]
Make Linux startup support sh and csh.
Marc G. Fournier [Mon, 27 Apr 1998 17:10:50 +0000 (17:10 +0000)]
From:
[email protected]
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"
)
* 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.
Marc G. Fournier [Mon, 27 Apr 1998 16:59:12 +0000 (16:59 +0000)]
From: Jun Kuwamura
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:
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
Marc G. Fournier [Mon, 27 Apr 1998 14:55:46 +0000 (14:55 +0000)]
From: Tom Lane
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.
Marc G. Fournier [Mon, 27 Apr 1998 14:46:51 +0000 (14:46 +0000)]
From: Ryan Kirkpatrick
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.
Marc G. Fournier [Mon, 27 Apr 1998 14:35:58 +0000 (14:35 +0000)]
From: Michael Meskes
And the next update. Now you can use only parts of a struct like this:
exec sql select a into :struct.string from foo;
Bruce Momjian [Mon, 27 Apr 1998 13:50:03 +0000 (13:50 +0000)]
Add Darren's char2-16 files.
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 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.
Bruce Momjian [Mon, 27 Apr 1998 03:56:59 +0000 (03:56 +0000)]
Add prper perl config testing.
Bruce Momjian [Mon, 27 Apr 1998 03:41:33 +0000 (03:41 +0000)]
manual page update from Oliver Elphick
[email protected]
Bruce Momjian [Mon, 27 Apr 1998 03:32:11 +0000 (03:32 +0000)]
Fix cc-specifc compiler flags in templatees.
Bruce Momjian [Mon, 27 Apr 1998 03:19:10 +0000 (03:19 +0000)]
Fixed table type lengths for Maurice.
Bruce Momjian [Mon, 27 Apr 1998 03:07:18 +0000 (03:07 +0000)]
Improved version from Claudiu
Bruce Momjian [Mon, 27 Apr 1998 02:58:07 +0000 (02:58 +0000)]
FIx confusion over SORT and SORTCLAUSE in node handling.
Bruce Momjian [Sun, 26 Apr 1998 23:14:39 +0000 (23:14 +0000)]
Included is a patch for ecpg which seems to have some compiling
problems on non POSIX systems such as SunOS 4.1.x. -- Tatsuo Ishii
[email protected] -
Bruce Momjian [Sun, 26 Apr 1998 04:18:06 +0000 (04:18 +0000)]
Doc updates from Darren on char2-16 removal
Bruce Momjian [Sun, 26 Apr 1998 04:12:15 +0000 (04:12 +0000)]
Re-apply Darren's char2-16 removal code.