1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-22 14:32:25 +03:00

Make toast-table creation and deletion work somewhat reliably.

Don't go through pg_exec_query_dest(), but directly to the execution
routines.  Also, extend parameter lists so that there's no need to
change the global setting of allowSystemTableMods, a hack that was
certain to cause trouble in the event of any error.
This commit is contained in:
Tom Lane
2000-07-04 06:11:54 +00:00
parent 9cf327790d
commit cdeca5f590
18 changed files with 144 additions and 98 deletions

View File

@@ -6,7 +6,7 @@
*
* Copyright (c) 2000, PostgreSQL Development Team
*
* $Id: tuptoaster.h,v 1.4 2000/07/04 00:04:03 tgl Exp $
* $Id: tuptoaster.h,v 1.5 2000/07/04 06:11:50 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -34,10 +34,6 @@ extern void heap_tuple_toast_attrs(Relation rel,
extern varattrib *heap_tuple_untoast_attr(varattrib * attr);
extern void heap_create_toast_table(Oid new_reloid,
TupleDesc new_tupdesc, bool istemp);
#endif /* TUPLE_TOASTER_ACTIVE */