Bruce Momjian [Mon, 16 Mar 1998 14:27:38 +0000 (14:27 +0000)]
Prevent \do from wrapping.
Bruce Momjian [Mon, 16 Mar 1998 05:58:46 +0000 (05:58 +0000)]
Make pg_user /xpg_user change complete.
Bruce Momjian [Mon, 16 Mar 1998 05:52:23 +0000 (05:52 +0000)]
Remove duplicates
Bruce Momjian [Mon, 16 Mar 1998 05:49:32 +0000 (05:49 +0000)]
Fix for Datasize = 0 error, from Vadim.
Bruce Momjian [Mon, 16 Mar 1998 05:41:39 +0000 (05:41 +0000)]
Fix for pg_dump of large objects, from
[email protected].
Bruce Momjian [Mon, 16 Mar 1998 05:37:16 +0000 (05:37 +0000)]
subselect notes from Vadim.
Marc G. Fournier [Sun, 15 Mar 1998 08:33:59 +0000 (08:33 +0000)]
From: Jeroen van Vianen
tools.patch patches tools/find_static (use indices to increase
performance) and tools/ccsym (no hardcoded paths).
Marc G. Fournier [Sun, 15 Mar 1998 08:18:03 +0000 (08:18 +0000)]
From: hankin
a while back I posted a patch for pg_ident, the patch worked but I didn't
diagnose the problem properly.
on my compiler(gcc2.7.2) this compiles with no errors...
char buf[1000]; if(buf != '\0') {
...but it doesn't compare '\0' with the first char of buf.
Marc G. Fournier [Sun, 15 Mar 1998 08:15:46 +0000 (08:15 +0000)]
Reply-To: Jordi MacDonald
There is an error in the configure script when using
--with-pgport= that will cause the compiled version of
PostgreSQL to no longer allow connections to the
new port and to treat shared memory improperly.
What happens is that if the port is changed, the configure
script defines DEF_PGPORT as "", which atoi() will return
as 0, which makes the IPC_KEY value 0. This then causes
semaphores to be allocated, but never released. Postgres
eventually returns from semget() with
"no space left on device". The source of this error could
easily be overlooked in version 6.3 since it is possible
to connect via UNIX domain sockets, and having DEF_PGPORT
defined as "0" would not be noticed until TCP was used.
Marc G. Fournier [Sun, 15 Mar 1998 08:11:11 +0000 (08:11 +0000)]
From: Randy Kunkee
The following patch is to src/interfaces/libpq of postgresql-6.3.
The purpose of the patch is to make the initialization of
const char *pgresStatus[] match the ExecStatusType enum.
Marc G. Fournier [Sun, 15 Mar 1998 08:09:37 +0000 (08:09 +0000)]
From:
[email protected]
6.3 postmaster is supposed to work with pre 6.3 protocol. This is true
for little endian architecture servers. But for big endian machines
such as Sparc the backward compatibility function do not work.
Attached are patches to fix the problem.
Marc G. Fournier [Sun, 15 Mar 1998 08:07:01 +0000 (08:07 +0000)]
From: "Thomas G. Lockhart"
For substr() and substring() on the text data type, the relevant code is in
varlena.c. You are right, there is a problem. I have a patch which I will
apply to the source tree soon. The copy enclosed below probably does not
preserve tabs correctly so cannot be applied directly; the relevant change
is simply changing the ">=" to ">"...
Marc G. Fournier [Sun, 15 Mar 1998 08:03:00 +0000 (08:03 +0000)]
From: Randy Kunkee
It is my hope that the following "patches" to libpgtcl get included
in the next release.
See the update to the README file to get a full description of the changes.
This version of libpgtcl is completely interpreter-safe, implements the
database connection handle as a channel (no events yet, but will make it
a lot easier to do fileevents on it in the future), and supports the SQL
"copy table to stdout" and "copy table from stdin" commands, with the
I/O being from and to the connection handle. The connection and result
handles are formatted in a way to make access to the tables more efficient.
Marc G. Fournier [Sun, 15 Mar 1998 07:53:03 +0000 (07:53 +0000)]
From:
[email protected]
Included are patches intended for allowing PostgreSQL to handle
multi-byte charachter sets such as EUC(Extende Unix Code), Unicode and
Mule internal code. With the MB patch you can use multi-byte character
sets in regexp and LIKE. The encoding system chosen is determined at
the compile time.
To enable the MB extension, you need to define a variable "MB" in
Makefile.global or in Makefile.custom. For further information please
take a look at README.mb under doc directory.
(Note that unlike "jp patch" I do not use modified GNU regexp any
more. I changed Henry Spencer's regexp coming with PostgreSQL.)
Marc G. Fournier [Sun, 15 Mar 1998 07:39:04 +0000 (07:39 +0000)]
From:
[email protected]
Included are patches intended for allowing PostgreSQL to handle
multi-byte charachter sets such as EUC(Extende Unix Code), Unicode and
Mule internal code. With the MB patch you can use multi-byte character
sets in regexp and LIKE. The encoding system chosen is determined at
the compile time.
To enable the MB extension, you need to define a variable "MB" in
Makefile.global or in Makefile.custom. For further information please
take a look at README.mb under doc directory.
(Note that unlike "jp patch" I do not use modified GNU regexp any
more. I changed Henry Spencer's regexp coming with PostgreSQL.)
Marc G. Fournier [Sun, 15 Mar 1998 07:12:07 +0000 (07:12 +0000)]
From: Peter T Mount
Ok, this fixes three things:
1. It seems (from tests submitted by two people with JBuilder) that
JBuilder expects a responce from ResultSetMetaData.getPrecision() &
getScale() when used on non numeric types. This patch makes these
methods return 0, instead of throwing an exception.
2. Fixes a small bug where getting the postgresql type name returns null.
3. Fixes a problem with ResultSet.getObject() where getting it's string
value returns null if you case the object as (PGobject), but returns
the value if you case it as it's self.
Bruce Momjian [Sun, 15 Mar 1998 02:13:23 +0000 (02:13 +0000)]
CLUSTER cleanup
Bruce Momjian [Sat, 14 Mar 1998 22:55:21 +0000 (22:55 +0000)]
Cluster fixup.
Bruce Momjian [Sat, 14 Mar 1998 21:58:09 +0000 (21:58 +0000)]
Change Postgres95 to PostgreSQL. Update CLUSTER manual page.
Bruce Momjian [Sat, 14 Mar 1998 04:15:49 +0000 (04:15 +0000)]
Remove postgres95.
Marc G. Fournier [Thu, 12 Mar 1998 13:09:46 +0000 (13:09 +0000)]
Update Pgaccess to 0.83
Marc G. Fournier [Tue, 10 Mar 1998 05:24:33 +0000 (05:24 +0000)]
Get the ultrix4 ports back in sync...
Thomas G. Lockhart [Sat, 7 Mar 1998 06:04:59 +0000 (06:04 +0000)]
Repair "LIKE" behavior with two adjacent wildcard characters ("_").
Was ignoring second wildcard.
Thomas G. Lockhart [Sat, 7 Mar 1998 06:03:28 +0000 (06:03 +0000)]
Add one-line fix to allow redefining built-in functions.
Bug introduced in mid-January.
Bruce Momjian [Sat, 7 Mar 1998 04:49:57 +0000 (04:49 +0000)]
Fix bad oid in table.
Bruce Momjian [Fri, 6 Mar 1998 22:49:58 +0000 (22:49 +0000)]
xinv fix for tclsh
Bruce Momjian [Fri, 6 Mar 1998 18:03:38 +0000 (18:03 +0000)]
pg_user cleanup.
Bruce Momjian [Fri, 6 Mar 1998 17:25:51 +0000 (17:25 +0000)]
Rename pg_user to pg_shadow.
Marc G. Fournier [Thu, 5 Mar 1998 13:18:51 +0000 (13:18 +0000)]
Add ecpg back in again
Bruce Momjian [Wed, 4 Mar 1998 18:41:08 +0000 (18:41 +0000)]
Get rid of those pesky long constants, 'l'. Has no affect.
Marc G. Fournier [Mon, 2 Mar 1998 14:54:59 +0000 (14:54 +0000)]
One last change to configure for 'non-gcc' compiler
Marc G. Fournier [Mon, 2 Mar 1998 06:12:15 +0000 (06:12 +0000)]
From: Darren King
Patch1:
Postgres thinks dist_pl (dist of a point to a line) is expecting a box (603)
for the right arg, but it really should be a line (628).
Otherwise the left & right args match those of dist_pb (dist of a point to a
box) two lines further down.
Patch2:
Anyways, these two functions take a path (602) whereas in pg_proc.h they are
listed as taking a lseg (601).
Bruce Momjian [Mon, 2 Mar 1998 05:52:57 +0000 (05:52 +0000)]
Reminder for next time.
Marc G. Fournier [Mon, 2 Mar 1998 05:42:15 +0000 (05:42 +0000)]
Last minute clean up for SunOS...
From:
[email protected]
Marc G. Fournier [Mon, 2 Mar 1998 05:33:14 +0000 (05:33 +0000)]
Change configure to reflect v6.3 vs v6.2 :)
Marc G. Fournier [Mon, 2 Mar 1998 03:04:26 +0000 (03:04 +0000)]
Bring pgaccess up to 0.82 - last update before release
Thomas G. Lockhart [Mon, 2 Mar 1998 00:13:36 +0000 (00:13 +0000)]
Fix money type USE_LOCALE support at least for default "C" locale.
Still has questionable code for some locale-specific strings.
Bruce Momjian [Sun, 1 Mar 1998 22:26:42 +0000 (22:26 +0000)]
Update for release. Add mention of new manuals.
Bruce Momjian [Sun, 1 Mar 1998 21:13:30 +0000 (21:13 +0000)]
Install new 0.81 pgaccess release.
Thomas G. Lockhart [Sun, 1 Mar 1998 20:50:46 +0000 (20:50 +0000)]
Update html tar files to include only necessary gif files.
Incorporate a few typo fixes.
Thomas G. Lockhart [Sun, 1 Mar 1998 20:47:20 +0000 (20:47 +0000)]
Make this rely on a real Makefile in sgml/.
Implement installation and cleaning.
Thomas G. Lockhart [Sun, 1 Mar 1998 20:46:10 +0000 (20:46 +0000)]
Fix a few typos. Try Author... for author credit.
Thomas G. Lockhart [Sun, 1 Mar 1998 20:44:37 +0000 (20:44 +0000)]
Try a fancier makefile. Allows real building of html and rtf output
rather than just executing ../Makefile.
Thomas G. Lockhart [Sun, 1 Mar 1998 20:42:52 +0000 (20:42 +0000)]
Replace incorrect gif files.
Thomas G. Lockhart [Sun, 1 Mar 1998 20:37:44 +0000 (20:37 +0000)]
Allow installation of documentation packages.
Thomas G. Lockhart [Sun, 1 Mar 1998 08:18:09 +0000 (08:18 +0000)]
Stopgap makefile for new sgml source documentation.
Should redo this before v6.3 release if possible.
Thomas G. Lockhart [Sun, 1 Mar 1998 08:16:16 +0000 (08:16 +0000)]
SGML source for new documentation.
Thomas G. Lockhart [Sun, 1 Mar 1998 08:15:10 +0000 (08:15 +0000)]
Graphics sources and GIF bitmaps for new documentation.
Thomas G. Lockhart [Sun, 1 Mar 1998 08:14:01 +0000 (08:14 +0000)]
New documentation generated from SGML source.
Thomas G. Lockhart [Sun, 1 Mar 1998 08:10:34 +0000 (08:10 +0000)]
Fix boolean operator declarations for path to return boolean, not float8.
Bruce Momjian [Sun, 1 Mar 1998 05:41:01 +0000 (05:41 +0000)]
Prepare for release.
Bruce Momjian [Sun, 1 Mar 1998 05:27:47 +0000 (05:27 +0000)]
Prepare for 6.3 release.
Marc G. Fournier [Sun, 1 Mar 1998 04:53:54 +0000 (04:53 +0000)]
From: "Billy G. Allie"
The following patch will change the meaning of the isinf function in the
HAVE_FPCLASS section from "not finite" to "is infinity".
Marc G. Fournier [Sun, 1 Mar 1998 04:52:59 +0000 (04:52 +0000)]
From: Darren King
1. Make 'all' works without complaint. Don't have to add the .exp
files to the files list. They are made automagically when
making the respective shared lib file.
Only port that actually uses EXPSUFF (from makefiles/Makefile.*)
is Aix, so if this breaks anybody else, let me know, asap.
2. Make 'clean' actually cleans up correctly. Previously, it would
leave the .o files in C-code directory.
3. Changed references to reflect new location of .c files.
4. Added DELETE statements to complex.source so that it tidies up
when done. Previously, it would leave things in pg_amop,
pg_amproc and pg_opclass. Only possible to do this with the
new SUBSELECT code in 6.3. Nice work, fellas...
Not deleting the index entries would cause a non-fatal error if
complex.sql was run again on the same database. Much tidier now.
5. Corrected the README. obj directory hasn't existed since Bryan
redid the make way back when. Also changed the snipet from psql
to match the current version. POSTGRES95?!? I don't think so. :)
Marc G. Fournier [Sun, 1 Mar 1998 04:51:16 +0000 (04:51 +0000)]
Move around files before applying Darren's second patch
Marc G. Fournier [Sun, 1 Mar 1998 04:47:38 +0000 (04:47 +0000)]
From: "Billy G. Allie"
The following patches will allow postgreSQL 6.3 to compile and run on a
UNIXWARE 2.1.2 system with the native C compiler with the following library
change:
The alloca function must be copied from the libucb.a archive and added
to the libgen.a archive.
Also, the GNU flex program is needed to successfully build postgreSQL.
Marc G. Fournier [Sat, 28 Feb 1998 23:37:10 +0000 (23:37 +0000)]
From: Darren King
Seem to remember someone posting to one of the lists a while back
that the tutorial code wouldn't compile and/or run. Found four
problems with it that will let it run.
1. Tutorial makefile had a recursive use of DLOBJS.
2. Some tutorial needed semi-colons added to many statements.
3. Complex tutorial didn't clean up after itself.
4. Advanced had a time-travel example. Commented it out and
put a line pointing the user to contrib/spi/README.
Marc G. Fournier [Sat, 28 Feb 1998 21:28:30 +0000 (21:28 +0000)]
Further updated regression output for FreeBSD
Marc G. Fournier [Sat, 28 Feb 1998 20:05:09 +0000 (20:05 +0000)]
Convert the -enable/-with options to use proper m4 macros and provide
-help messages
Suggested by: Tom I Helbekkmo
Bruce Momjian [Sat, 28 Feb 1998 15:08:15 +0000 (15:08 +0000)]
Update for 6.3 release.
Vadim B. Mikheev [Sat, 28 Feb 1998 13:53:18 +0000 (13:53 +0000)]
Fix scan adjusting for marked index tuples.
Bruce Momjian [Fri, 27 Feb 1998 22:20:09 +0000 (22:20 +0000)]
Prepare for 6.3 release.
Bruce Momjian [Fri, 27 Feb 1998 22:01:58 +0000 (22:01 +0000)]
Prepare for final release.
Marc G. Fournier [Fri, 27 Feb 1998 21:55:22 +0000 (21:55 +0000)]
Add for port hppa-??-hpux...
Marc G. Fournier [Fri, 27 Feb 1998 19:44:51 +0000 (19:44 +0000)]
From: Darren King
Two incorrect printf formats in parser/parse_type.c. Prolly done
by me a long time ago when I cleaned up int's and Oid's...
Format flag is really just %u, not %ud. Harmless, but results in
"type id lookup of 25d failed" instead of only "...25 failed"
Vadim B. Mikheev [Fri, 27 Feb 1998 16:12:09 +0000 (16:12 +0000)]
ExecReScan for MergeJoin.
Vadim B. Mikheev [Fri, 27 Feb 1998 16:11:28 +0000 (16:11 +0000)]
ExecReScan for MergeJoin.
Marked inner tuple now is copied into mergestate->mj_MarkedTupleSlot -
no more tricks arround ttc_shouldfree.
Vadim B. Mikheev [Fri, 27 Feb 1998 16:07:02 +0000 (16:07 +0000)]
In '(a,b,...) Op [ANY|ALL] (SubSelect)' Op is restricted to
'=' and '<>'.
Marc G. Fournier [Fri, 27 Feb 1998 12:59:33 +0000 (12:59 +0000)]
From: Michael Meskes
No more shift/reduce conflicts. Also all other bugs I know about are fixed.
Vadim B. Mikheev [Fri, 27 Feb 1998 08:43:53 +0000 (08:43 +0000)]
Check SELECT permissions in subqueries.
Marc G. Fournier [Fri, 27 Feb 1998 03:25:43 +0000 (03:25 +0000)]
Update regression output for FreeBSD
Marc G. Fournier [Fri, 27 Feb 1998 03:17:54 +0000 (03:17 +0000)]
New regression test output for Aix from Darren
Marc G. Fournier [Fri, 27 Feb 1998 03:07:35 +0000 (03:07 +0000)]
Add
for SunOS
From: [email protected]
Marc G. Fournier [Fri, 27 Feb 1998 02:41:21 +0000 (02:41 +0000)]
From: Darren King
This patch will...
1. Remove the "-Wall" option from the ecpg/lib and ecpg/preproc Makefile.
2. Remove the addition of $(SRCDIR)/include and-or $(SRCDIR)/backend from
ecpg/lib, ecpg/preproc, libpq and utils Makefiles. Already in CFLAGS...
3. Set MK_NO_LORDER and RANLIB in Makefile.aix to avoid a couple of extra
steps taken care of by the 'ld' command anyways.
Marc G. Fournier [Fri, 27 Feb 1998 02:38:15 +0000 (02:38 +0000)]
From: Jan Wieck
I thought it would be a good idea to ensure that the new view
permission model will not get broken by subsequent
fixes/changes. So I wrote a little regression test for it.
There is an ugly thing in this regression test. It creates
temporary a test user that is required for the tests. The
user is removed at the end of the test, but if sometimes the
regression suite is aborted or crashes exactly here, the test
user will lay around in the pg_shadow. Don't have a clue how
to get around.
Marc G. Fournier [Fri, 27 Feb 1998 02:34:33 +0000 (02:34 +0000)]
From: Michael Meskes
Sorry, I just repeated the last call and send out a stupid should be empty
mail. Anyway, my last patch missed one change:
Marc G. Fournier [Fri, 27 Feb 1998 02:31:20 +0000 (02:31 +0000)]
From: Michael Meskes
Subject: [PATCHES] ecpg: correct whenever statement
Marc G. Fournier [Fri, 27 Feb 1998 02:30:09 +0000 (02:30 +0000)]
From: Michael Meskes
Here's a small patch to ecpg's man page to make it list all known bugs.
Bruce Momjian [Thu, 26 Feb 1998 16:14:31 +0000 (16:14 +0000)]
Remove data/*.orig files
Bruce Momjian [Thu, 26 Feb 1998 16:06:20 +0000 (16:06 +0000)]
Remove compile warning.
Vadim B. Mikheev [Thu, 26 Feb 1998 12:14:54 +0000 (12:14 +0000)]
index_markpos()/index_restrpos() are in use now.
Vadim B. Mikheev [Thu, 26 Feb 1998 12:13:11 +0000 (12:13 +0000)]
execScan.c: in the end of scan projInfo->pi_slot must be
return, not a slot returned from access method (they have
different TupleDesc and MergeJoin node was broken).
nodeIndexscan.c: index_markpos()/index_restrpos() call index-specific
mark/restr funcs and are in use now (instead of
IndexScanMarkPosition()/ExecIndexRestrPos()).
Vadim B. Mikheev [Thu, 26 Feb 1998 12:07:10 +0000 (12:07 +0000)]
index_markpos()/index_restrpos are used now.
Bruce Momjian [Thu, 26 Feb 1998 04:46:47 +0000 (04:46 +0000)]
pgindent run before 6.3 release, with Thomas' requested changes.
Bruce Momjian [Thu, 26 Feb 1998 02:18:09 +0000 (02:18 +0000)]
Fix permist on libs.
Vadim B. Mikheev [Wed, 25 Feb 1998 23:40:32 +0000 (23:40 +0000)]
Fix 6.X vacuum bug in shrinking code.
Marc G. Fournier [Wed, 25 Feb 1998 20:51:10 +0000 (20:51 +0000)]
Add updated regression output for Solaris-Sparc
Remove SunOS
Marc G. Fournier [Wed, 25 Feb 1998 15:06:47 +0000 (15:06 +0000)]
Commit Solaris-i386 regression.diffs file for comparisons
Marc G. Fournier [Wed, 25 Feb 1998 15:02:18 +0000 (15:02 +0000)]
Change from -u to -wC3 ...
Marc G. Fournier [Wed, 25 Feb 1998 14:54:44 +0000 (14:54 +0000)]
pg_user.h is obseleted in favor of pg_shadow.h
Marc G. Fournier [Wed, 25 Feb 1998 14:50:36 +0000 (14:50 +0000)]
Make changes to psql so that it sees pg_user again instead of db_user
Marc G. Fournier [Wed, 25 Feb 1998 13:09:49 +0000 (13:09 +0000)]
From: Jan Wieck
seems that my last post didn't make it through. That's good
since the diff itself didn't covered the renaming of
pg_user.h to pg_shadow.h and it's new content.
Here it's again. The complete regression test passwd with
only some float diffs. createuser and destroyuser work.
pg_shadow cannot be read by ordinary user.
Bruce Momjian [Wed, 25 Feb 1998 00:31:23 +0000 (00:31 +0000)]
pgindent changes for Thomas proc/lock cleanup
Bruce Momjian [Tue, 24 Feb 1998 19:58:26 +0000 (19:58 +0000)]
Fix for locking problems an dpriority.
Marc G. Fournier [Tue, 24 Feb 1998 15:56:45 +0000 (15:56 +0000)]
Change -c to -u for regress.sh...should shrink regression.
somewhat
at the same time...
Suggested by: Frank Ridderbusch
Marc G. Fournier [Tue, 24 Feb 1998 15:53:54 +0000 (15:53 +0000)]
Forgot to run autoconf after updatign configure.in for Cyrillic patch
Marc G. Fournier [Tue, 24 Feb 1998 15:52:13 +0000 (15:52 +0000)]
+ Sat Feb 21 19:10:55 CET 1998
+
+ - use char[] as string not as array of bytes that is integers
+
+ Sun Feb 22 16:37:36 CET 1998
+
+ - use long for all size variables
+ - added execute immediate statement
+
+ Sun Feb 22 20:41:32 CET 1998
+
+ - use varcharsize = 1 for all simple types, 0 means pointer, > 1
+ means array if type is char resp. unsigned char
+
+ Thu Feb 24 12:26:12 CET 1998
+
+ - allow 'go to' in whenever statement as well as 'goto'
+ - new argument 'stop' for whenever statement
From: Michael Meskes
Marc G. Fournier [Tue, 24 Feb 1998 15:27:04 +0000 (15:27 +0000)]
From: "Denis V. Dmitrienko"
What it does:
It solves stupid problem with cyrillic charsets IP-based on-fly recoding.
take a look at /data/charset.conf for details.
You can use any tables for any charset.
Tables are from Russian Apache project.
Tables in this patch contains also Ukrainian characters.
Then run ./configure --enable-recode
Marc G. Fournier [Tue, 24 Feb 1998 06:04:55 +0000 (06:04 +0000)]
From:
[email protected]
Ok. I have decided to use:
#if defined(sun) && if defined(sparc) && !defined(__svr4)
instead of defined(sunos4). interfaces/libpq/libpq-fe.h and
include/c.h have been modified(see included patches).
Another porblems I have found are:
o SunOS lacks strtoul(). to fix this I stole strtoul.c from FreeBSD
and place it under backend/port. necessary modifications have been
also made to backend/port/Makefile.in, include/config.h.in and
configure.in (see included patches).
Marc G. Fournier [Tue, 24 Feb 1998 04:02:20 +0000 (04:02 +0000)]
Various fixes for string.h vs strings.h
From: Frank Ridderbusch