*** pgstattuple.orig.sql.in	Mon Sep  4 09:04:10 2006
--- pgstattuple.sql.in	Mon Sep  4 10:22:00 2006
***************
*** 26,32 ****
  --
  -- pgstatindex
  --
- DROP TYPE pgstatindex_type CASCADE;
  CREATE TYPE pgstatindex_type AS (
    version int4,
    tree_level int4,
--- 26,31 ----
***************
*** 48,54 ****
  --
  -- bt_metap()
  --
- DROP TYPE bt_metap_type CASCADE;
  CREATE TYPE bt_metap_type AS (
    magic int4,
    version int4,
--- 47,52 ----
***************
*** 66,72 ****
  --
  -- bt_page_stats()
  --
- DROP TYPE bt_page_stats_type CASCADE;
  CREATE TYPE bt_page_stats_type AS (
    blkno int4,
    type char,
--- 64,69 ----
***************
*** 81,88 ****
    btpo_flags int4
  );
  
- DROP FUNCTION bt_page_stats(text, int4);
- 
  CREATE OR REPLACE FUNCTION bt_page_stats(text, int4)
  RETURNS bt_page_stats_type
  AS 'MODULE_PATHNAME', 'bt_page_stats'
--- 78,83 ----
***************
*** 91,97 ****
  --
  -- bt_page_items()
  --
- DROP TYPE bt_page_items_type CASCADE;
  CREATE TYPE bt_page_items_type AS (
    itemoffset int4,
    ctid tid,
--- 86,91 ----
***************
*** 100,107 ****
    vars bool,
    data text
  );
- 
- DROP FUNCTION bt_page_items(text, int4);
  
  CREATE OR REPLACE FUNCTION bt_page_items(text, int4)
  RETURNS SETOF bt_page_items_type
--- 94,99 ----
