From 8a52b893b3d83c6dc796fae6a07a4ac30c871fc4 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 5 Oct 2001 17:28:13 +0000 Subject: Further cleanup of dynahash.c API, in pursuit of portability and readability. Bizarre '(long *) TRUE' return convention is gone, in favor of just raising an error internally in dynahash.c when we detect hashtable corruption. HashTableWalk is gone, in favor of using hash_seq_search directly, since it had no hope of working with non-LONGALIGNable datatypes. Simplify some other code that was made undesirably grotty by promixity to HashTableWalk. --- src/backend/commands/command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/commands/command.c') diff --git a/src/backend/commands/command.c b/src/backend/commands/command.c index 36cf7997103..2b3cc08e2d4 100644 --- a/src/backend/commands/command.c +++ b/src/backend/commands/command.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.142 2001/09/07 21:57:53 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.143 2001/10/05 17:28:11 tgl Exp $ * * NOTES * The PerformAddAttribute() code, like most of the relation @@ -259,7 +259,7 @@ PerformPortalClose(char *name, CommandDest dest) /* * Note: PortalCleanup is called as a side-effect */ - PortalDrop(&portal); + PortalDrop(portal); } /* ---------------- -- cgit v1.2.3