summaryrefslogtreecommitdiff
path: root/src/interfaces
AgeCommit message (Collapse)Author
1998-04-06DESTDIR removed, again.Bruce Momjian
1998-04-06destdir cleanup.Bruce Momjian
1998-04-06Cleanup of compiler warnings.Bruce Momjian
1998-04-06Make DESTDIR consistent, and verious Linux cleanups.Bruce Momjian
1998-04-06Re-introduce $DISTDIR.Bruce Momjian
1998-04-06Hi,Bruce Momjian
Attached you'll find a (big) patch that fixes make dep and make depend in all Makefiles where I found it to be appropriate. It also removes the dependency in Makefile.global for NAMEDATALEN and OIDNAMELEN by making backend/catalog/genbki.sh and bin/initdb/initdb.sh a little smarter. This no longer requires initdb.sh that is turned into initdb with a sed script when installing Postgres, hence initdb.sh should be renamed to initdb (after the patch has been applied :-) ) This patch is against the 6.3 sources, as it took a while to complete. Please review and apply, Cheers, Jeroen van Vianen
1998-04-05Remove DISTDIR.Bruce Momjian
1998-04-05Here are 3 patches (all relative to the src directory) to help withBruce Momjian
the configuration of v6.3.1. I have replaced the queries for include/lib directories with --with configuration options. I have also included a list of potential tcl/tk include directories directly in the CPPFLAGS variable. As new versions are needed, these should be added to the list in reverse numerical order (libraries are in a separate list near the end). This greatly simplifies the later checks if --with-tcl is set. I hope this solution works for everyone. I also added a check to disable the perl support if postgres was not already installed (as per the instructions in the directory). By the way, why must there be an installed pgsql to compile perl support? This seems odd, at best. Finally, I changed the Makefile in the libpgtcl interface to place the shared libraries at the end of the list of files, not at the beginning. With NetBSD at least, libraries are linked in order, so the original sequence does not work. Brook Milligan
1998-03-31Pointed out by: Doug Winterburn <dlw@seavme.xroads.com>Marc G. Fournier
3) Add "#include "config.h" to src/interfaces/ecpg/preproc/pgc.l to correct "strings.h not found". config.h has the proper define to make this work and should probably be near the top of pgc.l before the first include.
1998-03-30This problem had nothing to do with the upgrades I made. ThereBruce Momjian
was a 2000 character buffer allocated for results, and the files you refer to produce a 2765 byte column called formsource. This should not have worked with any version of libpgtcl. Nevertheless, the limit is an artificial one, since there is no need to use this intermediate buffer where it is being used and abused. Randy Kunkee <kunkee@pluto.ops.NeoSoft.com>
1998-03-26I have been troubled by a segmentation fault when reloading fromBruce Momjian
a dumpall. This has been happening when a second \connect is encountered. The faulty code was in fe-connect.c, where the memory for the user password was freed, but the pointer itself was not set to NULL. Later, the memory was reused and the password appeared not to be empty, so that an attempt was made to reference it. Oliver Elphick
1998-03-23more tcl/tk fixesBruce Momjian
1998-03-22Moved sys/types.h to before netdb.hMarc G. Fournier
From: Vince Vielhaber <vev@michvhf.com>
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-20Add missing file.Bruce Momjian
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-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-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: 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: 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-14Change Postgres95 to PostgreSQL. Update CLUSTER manual page.Bruce Momjian
1998-03-05Add ecpg back in againMarc G. Fournier
1998-02-27From: Michael Meskes <meskes@topsystem.de>Marc G. Fournier
No more shift/reduce conflicts. Also all other bugs I know about are fixed.
1998-02-27Add <sys/types.h> for SunOSMarc G. Fournier
From: t-ishii@sra.co.jp
1998-02-27From: Darren King <darrenk@insightdist.com>Marc G. Fournier
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.
1998-02-27From: Michael Meskes <meskes@topsystem.de>Marc G. Fournier
Sorry, I just repeated the last call and send out a stupid should be empty mail. Anyway, my last patch missed one change:
1998-02-27From: Michael Meskes <meskes@topsystem.de>Marc G. Fournier
Subject: [PATCHES] ecpg: correct whenever statement
1998-02-26Remove compile warning.Bruce Momjian
1998-02-26pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian
1998-02-24+ Sat Feb 21 19:10:55 CET 1998Marc G. Fournier
+ + - 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 <meskes@topsystem.de>
1998-02-24From: t-ishii@sra.co.jpMarc G. Fournier
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).
1998-02-24Various fixes for string.h vs strings.hMarc G. Fournier
From: Frank Ridderbusch <ridderbusch.pad@sni.de>
1998-02-24Various fixes for ecpg to remove compiler dependency...Marc G. Fournier
From: Darren King <darrenk@insightdist.com>
1998-02-24Install spi.h and trigger.inMarc G. Fournier
1998-02-23A few misc fixes brought up by AndrewMarc G. Fournier
1998-02-22The getColumns() method in DataBaseMetaData.java returns a column sizeMarc G. Fournier
of -1 for varchar's. From: CNT systemen BV <cntsys@cistron.nl>
1998-02-21First step done,Marc G. Fournier
below is the patch to have views to override the permission checks for the accessed tables. Now we can do the following: CREATE VIEW db_user AS SELECT usename, usesysid, usecreatedb, usetrace, usecatupd, '**********'::text as passwd, valuntil FROM pg_user; REVOKE ALL ON pg_user FROM public; REVOKE ALL ON db_user FROM public; GRANT SELECT ON db_user TO public;
1998-02-201.7.01.7.0Edmund Mergl
1998-02-201.7.0Edmund Mergl
1998-02-20From: Michael Meskes <meskes@topsystem.de>Marc G. Fournier
Please remove src/interfaces/ecpg/prproc/y.tab.h from cvs. It is generated by make anyway.
1998-02-20Missign a comma...Marc G. Fournier
From: AA van Raalte <alvin@camberlo.demon.co.uk>
1998-02-20From: Michael Meskes <meskes@topsystem.de>Marc G. Fournier
Subject: [PATCHES] one small fix for ecpg
1998-02-19Password fix. Now people have to do the REVOKE themselves.Bruce Momjian
1998-02-19oops, missed one...Marc G. Fournier
1998-02-19Makefile required some cleaning up for install and makeMarc G. Fournier
1998-02-19Don't make shared libraries for i386_solaris yet...it doesn't workMarc G. Fournier
1998-02-19From: Michael Meskes <meskes@topsystem.de>Marc G. Fournier
Here's my next patch. this one should fix some more bugs. ecpg now fully understands the whenever statement.
1998-02-19Already moved to the appropriate documentation directoriesMarc G. Fournier
1998-02-18Remove inclusion of the doc make. Looks like all of the man pages areThomas G. Lockhart
in the usual man page source directory anyway. Source tree now builds.