1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-13 16:22:44 +03:00

Fix for SELECT INTO ... GROUP/ORDER BY where table already exists unlink error.

This commit is contained in:
Bruce Momjian
1997-01-01 06:01:16 +00:00
parent 8fb0ac8898
commit 6da0055274
2 changed files with 12 additions and 3 deletions

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.9 1996/12/31 06:58:27 vadim Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.10 1997/01/01 06:01:16 momjian Exp $
*
* INTERFACE ROUTINES
* heap_creatr() - Create an uncataloged heap relation
@@ -303,7 +303,8 @@ heap_creatr(char *name,
*/
rdesc->rd_istemp = isTemp;
rdesc->rd_tmpunlinked = TRUE; /* change once table is opened */
/* ----------------
* have the storage manager create the relation.
* ----------------