summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1998-03-20This patch fixes a couple of minor bugs:Bruce Momjian
1) DatabaseMetaData.getPrimaryKeys() would fail saying that there is no table t. 2) PreparedStatement.getObject() was missing some break statements, which was causing updates not to work with JBuilder (supplied by Aaron Dunlop). jdbc fixes from Peter.
1998-03-20Disable -lbsd on alpha.Bruce Momjian
1998-03-20Add missing file.Bruce Momjian
1998-03-20OK...here is a patch that will cause the magnetic disk storageBruce Momjian
manager to not try to split files in 2 gig chunks. It will just try to get another block. If applied, everything is just as before. But if LET_OS_MANAGE_FILESIZE is defined, the chaining disappears and the file just keeps on going, and going, and going, til the OS barfs. Darren King
1998-03-20Sorry. I made above mistakes. "__svr4" should be "__svr4__" orBruce Momjian
"__SVR4" as you pointed out. There is another file that has the same mistakes. Included is a patche for include/c.h. t-ishii@sra.co.jp
1998-03-20Fix spelling of "includingBruce Momjian
Edward J. Huff
1998-03-20HPUX build does not build shared lib versions of libpq and libpq++Bruce Momjian
-------------------------------------------------------------------------- Test Case: ---------- -------------------------------------------------------------------------- Solution: --------- Add this to the libpq and libpq++ Makefiles to build shared libs: Mike Ferrara
1998-03-20In libpq-fe.h: #if defined(sun) && defined(sparc) && !defined(__svr4)Bruce Momjian
extern char *sys_errlist[]; #define strerror(A) (sys_errlist[(A)]) #endif /* sunos4 */ is picked up by Solaris when the above is intended only for SunOS. Fix Solaris. Albert Chin-A-Young
1998-03-20The real trick is to add -Dalpha to the CFLAGS setting. The changesBruce Momjian
to main.c are only to add some extra includes to support some code that's suddenly being used. The #define ASSEMBLER is to prevent most of the code of sys/proc.h from being included, as it ends up conflicting with some of the postgresql definitions. This may or may not work on other versions of Digital Unix. Get alpha working. Yea. Dwayne Bailey
1998-03-20> > I'm using text[] arrays. Some of my array elements have '"'Bruce Momjian
> > characters in them. Dumping and reloading using pg_dumpall > > doesn't work with this and dumping the entire array and > > then trying to parse it is hopeless. Doug Gibson
1998-03-20Here's my next patch to bring ecpg to version 1.1. It now correctlyBruce Momjian
handles all transaction commands and the exec sql include command. Michael Meskes
1998-03-18Allow parsing expressions with ") -" (scan.l, scan.c only).Thomas G. Lockhart
Make "TABLE" optional in "LOCK TABLE" command and "... INTO TABLE..." clause. Explicitly parse CREATE SEQUENCE options to allow a negative integer as an argument; this is an artifact of unary minus handling in scan.l. Add "PASSWORD" as an allowed column identifier. These fixes will require a "make clean install" but not a dump/reload.
1998-03-18Add checks for UNION target fields, and add optional TABLE to LOCKBruce Momjian
and SELECT manual pages and psql help.
1998-03-16SunOS .similar cleanup.Bruce Momjian
1998-03-16Add SunOS entries.Bruce Momjian
1998-03-16Prevent \do from wrapping.Bruce Momjian
1998-03-16Make pg_user /xpg_user change complete.Bruce Momjian
1998-03-16Remove duplicatesBruce Momjian
1998-03-16Fix for Datasize = 0 error, from Vadim.Bruce Momjian
1998-03-16Fix for pg_dump of large objects, from alvin@camberlo.demon.co.uk.Bruce Momjian
1998-03-16subselect notes from Vadim.Bruce Momjian
1998-03-15From: Jeroen van Vianen <jeroenv@design.nl>Marc G. Fournier
tools.patch patches tools/find_static (use indices to increase performance) and tools/ccsym (no hardcoded paths).
1998-03-15From: hankin <hankin@consultco.com>Marc G. Fournier
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.
1998-03-15Reply-To: Jordi MacDonald <jordi@spartanmedia.com>Marc G. Fournier
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.
1998-03-15From: Randy Kunkee <kunkee@pluto.ops.NeoSoft.com>Marc G. Fournier
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.
1998-03-15From: t-ishii@sra.co.jpMarc G. Fournier
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.
1998-03-15From: "Thomas G. Lockhart" <lockhart@alumni.caltech.edu>Marc G. Fournier
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 ">"...
1998-03-15From: Randy Kunkee <kunkee@pluto.ops.NeoSoft.com>Marc G. Fournier
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.
1998-03-15From: t-ishii@sra.co.jpMarc G. Fournier
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.)
1998-03-15From: t-ishii@sra.co.jpMarc G. Fournier
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.)
1998-03-15From: Peter T Mount <patches@maidast.demon.co.uk>Marc G. Fournier
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.
1998-03-15 CLUSTER cleanupBruce Momjian
1998-03-14Cluster fixup.Bruce Momjian
1998-03-14Change Postgres95 to PostgreSQL. Update CLUSTER manual page.Bruce Momjian
1998-03-14Remove postgres95.Bruce Momjian
1998-03-12Update Pgaccess to 0.83Marc G. Fournier
1998-03-10Get the ultrix4 ports back in sync...Marc G. Fournier
1998-03-07Repair "LIKE" behavior with two adjacent wildcard characters ("_").Thomas G. Lockhart
Was ignoring second wildcard.
1998-03-07Add one-line fix to allow redefining built-in functions.Thomas G. Lockhart
Bug introduced in mid-January.
1998-03-07Fix bad oid in table.Bruce Momjian
1998-03-06xinv fix for tclshBruce Momjian
1998-03-06pg_user cleanup.Bruce Momjian
1998-03-06Rename pg_user to pg_shadow.Bruce Momjian
1998-03-05Add ecpg back in againMarc G. Fournier
1998-03-04Get rid of those pesky long constants, 'l'. Has no affect.Bruce Momjian
1998-03-02One last change to configure for 'non-gcc' compilerrelease-6-3REL6_3Marc G. Fournier
1998-03-02From: Darren King <darrenk@insightdist.com>Marc G. Fournier
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).
1998-03-02Reminder for next time.Bruce Momjian
1998-03-02Last minute clean up for SunOS...Marc G. Fournier
From: t-ishii@sra.co.jp
1998-03-02Change configure to reflect v6.3 vs v6.2 :)Marc G. Fournier