postgresql/src
Bruce Momjian 6b50f9af33 On Fri, 07 Sep 2001 01:34:46 -0400, Tom Lane wrote:
>there is still an unpatched reference to pg_description in
>getColumns(), in both jdbc1 and jdbc2.

This was introduced by Jeroen's patch (see
http://fts.postgresql.org/db/mw/msg.html?mid=1032468). Attached
is a patch that returns getColumns() to using "select
obj_description()" instead of direct access to pg_description,
as per the request by Tom.

I've incorporated Jeroen's fix to left outer join with
pg_attrdef instead of inner join, so getColumns() also returns
columns without a default value.

I have, however, not included Jeroen's attempt to combine
multiple queries into one huge multi-join query for better
performance, because:
1) I don't know how to do that using obj_description() instead
of direct access to pg_description
2) I don't think a performance improvement (if any) in this
method is very important

Because of the outer join, getColumns() will only work with a
backend >= 7.1. Since the conditional coding for 7.1/7.2 and
jdbc1/jdbc2 is already giving me headaches I didn't pursue a
pre-7.1 solution.

Regards,
Ren? Pijlman <rene@lab.applinet.nl>
2001-09-10 14:55:08 +00:00
..
backend Bug #1: attribute name when column is type cast: 2001-09-10 14:53:10 +00:00
bin > NOTE: in the command.c in three places there (I believe) is a typo: 2001-09-10 14:51:33 +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 Apply 7.1.3 changes to the current tree also. 2001-09-08 16:15:28 +00:00
interfaces On Fri, 07 Sep 2001 01:34:46 -0400, Tom Lane wrote: 2001-09-10 14:55:08 +00:00
makefiles Add -rpath for BSD/OS, from Peter E. 2001-09-06 13:43:42 +00:00
pl Next version of patch. 2001-09-06 02:56:32 +00:00
template 0 -> O 2001-08-08 13:30:20 +00:00
test Fix handling of pg_type.typdefault per bug report from Dave Blasby. 2001-09-06 02:07:42 +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 Install the SQL command man pages into a section appropriate for each 2001-08-29 19:14:40 +00:00
Makefile.shlib Shared libraries should not be linked explicitly against -lc on FreeBSD 2001-06-20 20:25:11 +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