postgresql/src/backend/storage
Tom Lane ab02896510 Provide CatalogTupleDelete() as a wrapper around simple_heap_delete().
This extends the work done in commit 2f5c9d9c9 to provide a more nearly
complete abstraction layer hiding the details of index updating for catalog
changes.  That commit only invented abstractions for catalog inserts and
updates, leaving nearby code for catalog deletes still calling the
heap-level routines directly.  That seems rather ugly from here, and it
does little to help if we ever want to shift to a storage system in which
indexing work is needed at delete time.

Hence, create a wrapper function CatalogTupleDelete(), and replace calls
of simple_heap_delete() on catalog tuples with it.  There are now very
few direct calls of [simple_]heap_delete remaining in the tree.

Discussion: https://postgr.es/m/462.1485902736@sss.pgh.pa.us
2017-02-01 16:13:30 -05:00
..
buffer Fix comments in StrategyNotifyBgWriter(). 2017-01-24 09:39:11 +09:00
file Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
freespace Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
ipc Check interrupts during hot standby waits 2017-01-26 18:59:58 +00:00
large_object Provide CatalogTupleDelete() as a wrapper around simple_heap_delete(). 2017-02-01 16:13:30 -05:00
lmgr Logical replication 2017-01-20 09:04:49 -05:00
page Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
smgr Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
Makefile Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00