mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-15 08:20:16 +08:00
a1fd650d2b
The original implementation of the 3-argument form of get_raw_page() risked core dumps if the 8.3 SQL function definition was mistakenly used with the 8.4 module, which is entirely likely after a dump-and-reload upgrade. To protect 8.4 beta testers against upgrade problems, add a check on PG_NARGS. In passing, fix missed additions to the uninstall script, and polish the docs a trifle.
14 lines
510 B
SQL
14 lines
510 B
SQL
/* $PostgreSQL: pgsql/contrib/pageinspect/uninstall_pageinspect.sql,v 1.5 2009/06/08 16:22:44 tgl Exp $ */
|
|
|
|
-- Adjust this setting to control where the objects get dropped.
|
|
SET search_path = public;
|
|
|
|
DROP FUNCTION get_raw_page(text, int4);
|
|
DROP FUNCTION get_raw_page(text, text, int4);
|
|
DROP FUNCTION page_header(bytea);
|
|
DROP FUNCTION heap_page_items(bytea);
|
|
DROP FUNCTION bt_metap(text);
|
|
DROP FUNCTION bt_page_stats(text, int4);
|
|
DROP FUNCTION bt_page_items(text, int4);
|
|
DROP FUNCTION fsm_page_contents(bytea);
|