postgresql/src
Bruce Momjian 07ce9fe61d Per the recent discussion there's been some code changes in JDBC's
DatabaseMetaData.getColumn(). I proposed a patch that would change the
number of queries to find out all columns in a table from 2 * N + 1 to 1 (N
being the number of columns reported) by using some outer joins. I also
fixed the fact that getColumns() only returned columns that had a default
defined. OTOH, I did not use to change the code required for obtaining a
column's remarks (by using col_description() for 7.2  and requested by Tom
Lane).

Finally, I have found a way to get all the column details in a single query
*and* use col_description() for 7.2 servers. A patch is attached. It
overrules Ren? Pijlman's fix for this that was committed just today, but
still used N + 1 queries (sorry Ren? ;-) )

I also fixed the return values for TABLE_CAT and TABLE_SCHEM from "" to
null, to be more standard compliant (and requested in Ren?'s mail found at
http://fts.postgresql.org/db/mw/msg.html?mid=1034253).

As always, the JDBC1 version has not been tested as I have no JDK 1.1

Jeroen van Vianen
2001-09-29 03:08:01 +00:00
..
backend Improve wording. 2001-09-28 19:25:36 +00:00
bin sbasename $0 is now basename "$0" 2001-09-22 04:28:12 +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 Measure the current transaction time to milliseconds. 2001-09-28 08:09:14 +00:00
interfaces Per the recent discussion there's been some code changes in JDBC's 2001-09-29 03:08:01 +00:00
makefiles Add -rpath for BSD/OS, from Peter E. 2001-09-06 13:43:42 +00:00
pl The trailing semicolon in a plpgsql function definition is now optional. 2001-09-26 21:35:28 +00:00
template 0 -> O 2001-08-08 13:30:20 +00:00
test Add separate regression tests for timetz and the new timestamptz type. 2001-09-28 08:00:11 +00:00
tools Create pgjindent for java. 2001-09-07 21:25:44 +00:00
tutorial New blood and fresh air for tutorial 2001-09-02 23:27:50 +00:00
utils pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
DEVELOPERS just testing a script... 1999-07-30 03:45:57 +00:00
GNUmakefile.in Restructure the key include files per recent pghackers discussion: there 2001-02-10 02:31:31 +00:00
Makefile Restructure the key include files per recent pghackers discussion: there 2001-02-10 02:31:31 +00:00
Makefile.global.in Provide some initial support for building the ODBC driver for 2001-09-22 22:54:33 +00:00
Makefile.shlib Provide some initial support for building the ODBC driver for 2001-09-22 22:54:33 +00:00
nls-global.mk Change xgettext rule to run in the source tree, so we don't have the 2001-07-15 11:43:55 +00:00
win32.mak Missed this part in pg_config.h rename. 2001-08-24 22:42:28 +00:00