postgresql/src/backend/commands
Tom Lane 475cb157b9 Squash some more CLUSTER bugs. Never has worked on multiple-column
indexes, apparently, nor on functional indexes with more than one input
column (force of natts = 1 was in the wrong branch of IF statement).
Coredumped if source relation contained any uncommitted tuples, due to
failure to test for success return from heap_fetch.  Fetched tuple
was passed directly to heap_insert, which clobbers the TID and commit
status in the tuple header it's given, which meant that the source
relation's tuples all got trashed as the copy proceeded.  Abort partway
through, and you're left with a lot of missing tuples.
I wonder what else is lurking here ...
2000-05-12 16:10:09 +00:00
..
_deadcode Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +00:00
async.c Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +00:00
cluster.c Squash some more CLUSTER bugs. Never has worked on multiple-column 2000-05-12 16:10:09 +00:00
command.c Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +00:00
comment.c Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +00:00
copy.c Allow COPY WITH OIDS to system OID values --- rely on unique indexes to 2000-04-16 04:27:52 +00:00
creatinh.c Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +00:00
dbcommands.c Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +00:00
define.c Fixed CREATE TYPE to recognize changed parsenodes 2000-04-13 11:51:07 +00:00
explain.c Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +00:00
indexcmds.c change reindex ERROR/NOTICE message 2000-04-25 10:38:38 +00:00
Makefile Removed MBFLAGS from makefiles since it's now done in include/config.h. 2000-01-19 02:59:03 +00:00
proclang.c Make number of args to a function configurable. 2000-01-10 17:14:46 +00:00
remove.c Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +00:00
rename.c Fix CLUSTER ... or at least undo the bit-rot it's suffered since 6.5. 2000-05-11 03:54:18 +00:00
sequence.c Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +00:00
trigger.c Show failing OID in 'cache lookup failed' messages. 2000-04-16 04:25:42 +00:00
user.c Don't leak a file descriptor when updating pg_pwd file. Also, check for 2000-05-04 20:06:07 +00:00
vacuum.c Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +00:00
variable.c Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +00:00
view.c Carry column aliases from the parser frontend. Enables queries like 2000-02-15 03:38:29 +00:00