postgresql/src
Barry Lind 88e524063a Patch from Kris Jurka to improve the performance of getImportedKeys().
Use explicit joins to avoid using the genetic query optimizer.  Also fixed
a regression test that was failing to compile.  This change also cleans up
how key names are reported as per:
A change to the value of the FK_NAME column.  Currently the returned value
is the triggers arguments which look like

"<unnamed>\000t2\000t1\000UNSPECIFIED\000a\000a\000"

This was required for server versions < 7.3 when a user did not supply
constraint names.  Every constraint was named "<unnamed>"
.  7.3 has enforced unique constraint names per table so unnamed foreign
keys will have different names "$1", "$2" and so on.  I've used logic
along the lines of the following to preserve the unique names in the
original scheme, but allow people who go to the trouble of naming their
constraints to see them:

if (triggerargs.startsWith("<unnamed>")) {
	fkname = [the whole ugly trigger args name originally used];
} else {
	fkname = [the actual fk name];
}

 Modified Files:
 	jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
 	jdbc/org/postgresql/test/jdbc2/optional/ConnectionPoolTest.java
2003-01-14 05:05:26 +00:00
..
backend Fix information_schema.sql install to work when building outside 2003-01-13 20:37:18 +00:00
bin Change Adjust_lo_type() so that it doesn't cause an error 2003-01-13 04:28:55 +00:00
corba Convert files from DOS format to normal text. 2000-12-03 14:43:59 +00:00
data I've sent 3 mails to pgsql-patches. There are two files, one for doc 1999-08-16 20:27:19 +00:00
include Reconsider mechanism for marking sub-selects that are at top level of 2003-01-13 18:10:53 +00:00
interfaces Patch from Kris Jurka to improve the performance of getImportedKeys(). 2003-01-14 05:05:26 +00:00
makefiles Revert rpath-mangling patch. See discussion on -patches around Nov 29 for 2003-01-05 13:45:47 +00:00
pl Adjust Tcl-related code to compile cleanly with Tcl 8.4 (add const modifiers as 2002-12-30 22:10:54 +00:00
port Back out flockfile change for NetBSD. Giles Lean reports they are not 2003-01-11 19:38:23 +00:00
template Mark SCO Openserver 5.0.4. supported by 7.3.1 as per chat report from user. 2002-12-11 22:27:26 +00:00
test Read-only transactions, as defined in SQL. 2003-01-10 22:03:30 +00:00
tools Fixes to pgcvslog for last narrive entry. 2003-01-13 01:57:47 +00:00
tutorial Assorted fixes for Cygwin: 2002-09-05 18:28:46 +00:00
utils Re-add Win32 missing files, I think. 2002-11-02 02:00:35 +00:00
bcc32.mak Attached is a patch to provide makefiles, etc. to allow the compilation 2002-12-30 21:07:26 +00:00
DEVELOPERS just testing a script... 1999-07-30 03:45:57 +00:00
Makefile Assorted fixes for Cygwin: 2002-09-05 18:28:46 +00:00
Makefile.global.in Enable IPv6 connections to the server, and add pg_hba.conf IPv6 entries 2003-01-06 03:18:27 +00:00
Makefile.shlib Cause symlinks for shared-library versioning to run in the standard 2003-01-11 17:22:19 +00:00
nls-global.mk Avoid shell syntax error if list of languages is empty. 2002-09-02 22:19:42 +00:00
win32.mak Remove all traces of multibyte and locale options. Clean up comments 2002-09-03 21:45:44 +00:00