postgresql/src
Bruce Momjian 03155dc764 It seems that SPI_prepare() doesn't work well in some cases.
Pawel Pierscionek [pawel@astercity.net] reported about the
following case 1([SQL] drop table in pgsql).
Michael Contzen [mcontzen@dohle.com] reported about the
following case 2(PL/PGSQL bug using aggregates).
You can find it from pgsql-hackers archive.

1. PL/pgSQL can't execute UTILITY commands.
   SPI_prepare() doesn't copy(save) the utilityStmt member of
   Query type nodes,because copyObject() is not implemented
   for nodes of (Create/Destroy etc)Stmt type.

2. Aggregates in PL/pgSQL cause wrong results.

...
   It's a list including Aggreg type nodes which exist in
   TargetList(i.e Aggreg type nodes are common to aggs
   member list and TargetList).
   AFAIC the common pointer is not copied to the same
   pointer by copyObject() function.
   In my patch I reconstruct aggs member node from
   new(copied) Agg type node.
   Is it proper to use set_agg_tlist_references() function to
   reconstruct aggs member node for Agg type nodes ?

Thanks.

Hiroshi Inoue
Inoue@tpf.co.jp
1999-01-21 22:55:41 +00:00
..
backend It seems that SPI_prepare() doesn't work well in some cases. 1999-01-21 22:55:41 +00:00
bin Here is a new version of my patch for allowing pg_dump to DROP schema 1999-01-21 22:53:37 +00:00
corba Updating and addign files... 1998-11-19 02:39:51 +00:00
data Remove duplicates 1998-03-16 05:52:23 +00:00
include The following patch finishes primary key support. Previously, when 1999-01-21 22:48:20 +00:00
interfaces From: Michael Meskes <Michael.Meskes@usa.net> 1999-01-21 20:01:34 +00:00
lextest Apply Win32 patch from Horak Daniel. 1999-01-17 06:20:06 +00:00
makefiles Add missing Windows files. 1999-01-18 12:43:55 +00:00
man Here is a new version of my patch for allowing pg_dump to DROP schema 1999-01-21 22:53:37 +00:00
pl Clean up trivial compiler warning from gcc. 1999-01-17 21:53:32 +00:00
template Add missing Windows files. 1999-01-18 12:43:55 +00:00
test Fix for typo in gram.y 1999-01-18 06:32:27 +00:00
tools Apply Win32 patch from Horak Daniel. 1999-01-17 06:20:06 +00:00
tutorial OK, folks, here is the pgindent output. 1998-09-01 04:40:42 +00:00
utils Add missing Windows files. 1999-01-18 12:43:55 +00:00
win32 Win32 new files. 1999-01-17 06:27:05 +00:00
config.guess My mailer munged the intro text in my last post. Here is the text 1998-07-19 04:17:13 +00:00
config.sub Start of a univel port by "Michael P. Snyder" <msnyder@hawkeye.huntersmoon.com> 1997-03-25 07:16:36 +00:00
configure Apply Win32 patch from Horak Daniel. 1999-01-17 06:20:06 +00:00
configure.in Apply Win32 patch from Horak Daniel. 1999-01-17 06:20:06 +00:00
DEVELOPERS Move FAQ_DEV to docs directory, where it belongs. 1998-05-22 04:20:53 +00:00
GNUmakefile.in The TCL/TK configuration cleanup patches I submitted have the following 1998-10-18 04:16:08 +00:00
install-sh Bring back in the autoconf files - work in progress 1997-02-04 08:53:45 +00:00
Makefile Warning in makefile added from DArcy. 1997-08-22 16:38:33 +00:00
Makefile.global.in Use autoconf to determine whether system has POSIX signals, 1998-11-29 05:30:25 +00:00
Makefile.shlib Apply Win32 patch from Horak Daniel. 1999-01-17 06:20:06 +00:00
win32.mak Here are the patches against the current source tree. I have run the 1998-10-06 03:02:29 +00:00