| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
--------------------------------------------------------------------------
Test Case: ----------
--------------------------------------------------------------------------
Solution: --------- Add this to the libpq and libpq++ Makefiles
to build shared libs:
Mike Ferrara
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
handles all transaction commands and the exec sql include command.
Michael Meskes
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
No more shift/reduce conflicts. Also all other bugs I know about are fixed.
|
|
|
|
| |
From: t-ishii@sra.co.jp
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Sorry, I just repeated the last call and send out a stupid should be empty
mail. Anyway, my last patch missed one change:
|
|
|
|
| |
Subject: [PATCHES] ecpg: correct whenever statement
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+
+ - 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
From: Frank Ridderbusch <ridderbusch.pad@sni.de>
|
|
|
|
| |
From: Darren King <darrenk@insightdist.com>
|
| |
|
| |
|
|
|
|
|
|
| |
of -1 for varchar's.
From: CNT systemen BV <cntsys@cistron.nl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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;
|
| |
|
| |
|
|
|
|
|
| |
Please remove src/interfaces/ecpg/prproc/y.tab.h from cvs. It is generated
by make anyway.
|
|
|
|
| |
From: AA van Raalte <alvin@camberlo.demon.co.uk>
|
|
|
|
| |
Subject: [PATCHES] one small fix for ecpg
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Here's my next patch. this one should fix some more bugs. ecpg now fully
understands the whenever statement.
|
| |
|
|
|
|
| |
in the usual man page source directory anyway. Source tree now builds.
|
|
|
|
|
|
|
|
|
| |
any other, example program.
I have tracked this down to a call to PQfinish() in ECPGfinish()
that occurs before any connection is established.
From: Keith Parks <emkxp01@mtcc.demon.co.uk>
|
|
|
|
| |
From: Michael Meskes <meskes@topsystem.de>
|
| |
|
|
|
|
| |
From: Michael Meskes <meskes@topsystem.de>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Apart from this Makefile hack, all I've done is to make dynamically
loaded code modules fail properly (as was already done for __mips__,
although I think this is too loose: I believe NetBSD for the pmax can
do dynamic linking), and to add test-and-set lock handling. As Bruce
suggested, this is done in a maximally efficient inlined way: I was
not aware that this code was so important, speed-wise.
|
|
|
|
| |
Here's the ecpg patch for the local variables bug I reported earlier:
|
| |
|
| |
|
|
|
|
| |
pull their data/info from Makefile.global
|
|
|
|
| |
Makefile, as it isn't appropriate for GNUmake
|