mirror of
https://github.com/postgres/postgres.git
synced 2025-06-13 07:41:39 +03:00
Rename several destroy* functions/tags to drop*.
This commit is contained in:
6
src/backend/utils/cache/temprel.c
vendored
6
src/backend/utils/cache/temprel.c
vendored
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/temprel.c,v 1.17 1999/11/16 16:55:28 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/temprel.c,v 1.18 1999/12/10 03:56:00 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -98,10 +98,10 @@ remove_all_temp_relations(void)
|
||||
|
||||
/* safe from deallocation */
|
||||
strcpy(relname, temp_rel->user_relname);
|
||||
heap_destroy_with_catalog(relname);
|
||||
heap_drop_with_catalog(relname);
|
||||
}
|
||||
else
|
||||
index_destroy(temp_rel->relid);
|
||||
index_drop(temp_rel->relid);
|
||||
|
||||
l = next;
|
||||
}
|
||||
|
Reference in New Issue
Block a user