123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400 |
- // Code generated by sqlc-pg-gen. DO NOT EDIT.
- package contrib
- import (
- "github.com/sqlc-dev/sqlc/internal/sql/ast"
- "github.com/sqlc-dev/sqlc/internal/sql/catalog"
- )
- var funcsPageinspect = []*catalog.Function{
- {
- Name: "brin_metapage_info",
- Args: []*catalog.Argument{
- {
- Name: "page",
- Type: &ast.TypeName{Name: "bytea"},
- },
- },
- ReturnType: &ast.TypeName{Name: "record"},
- },
- {
- Name: "brin_page_items",
- Args: []*catalog.Argument{
- {
- Name: "page",
- Type: &ast.TypeName{Name: "bytea"},
- },
- {
- Name: "index_oid",
- Type: &ast.TypeName{Name: "regclass"},
- },
- },
- ReturnType: &ast.TypeName{Name: "record"},
- },
- {
- Name: "brin_page_type",
- Args: []*catalog.Argument{
- {
- Name: "page",
- Type: &ast.TypeName{Name: "bytea"},
- },
- },
- ReturnType: &ast.TypeName{Name: "text"},
- },
- {
- Name: "brin_revmap_data",
- Args: []*catalog.Argument{
- {
- Name: "page",
- Type: &ast.TypeName{Name: "bytea"},
- },
- },
- ReturnType: &ast.TypeName{Name: "tid"},
- },
- {
- Name: "bt_metap",
- Args: []*catalog.Argument{
- {
- Name: "relname",
- Type: &ast.TypeName{Name: "text"},
- },
- },
- ReturnType: &ast.TypeName{Name: "record"},
- },
- {
- Name: "bt_page_items",
- Args: []*catalog.Argument{
- {
- Name: "page",
- Type: &ast.TypeName{Name: "bytea"},
- },
- },
- ReturnType: &ast.TypeName{Name: "record"},
- },
- {
- Name: "bt_page_items",
- Args: []*catalog.Argument{
- {
- Name: "relname",
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Name: "blkno",
- Type: &ast.TypeName{Name: "bigint"},
- },
- },
- ReturnType: &ast.TypeName{Name: "record"},
- },
- {
- Name: "bt_page_stats",
- Args: []*catalog.Argument{
- {
- Name: "relname",
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Name: "blkno",
- Type: &ast.TypeName{Name: "bigint"},
- },
- },
- ReturnType: &ast.TypeName{Name: "record"},
- },
- {
- Name: "fsm_page_contents",
- Args: []*catalog.Argument{
- {
- Name: "page",
- Type: &ast.TypeName{Name: "bytea"},
- },
- },
- ReturnType: &ast.TypeName{Name: "text"},
- },
- {
- Name: "get_raw_page",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Type: &ast.TypeName{Name: "bigint"},
- },
- },
- ReturnType: &ast.TypeName{Name: "bytea"},
- },
- {
- Name: "get_raw_page",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Type: &ast.TypeName{Name: "bigint"},
- },
- },
- ReturnType: &ast.TypeName{Name: "bytea"},
- },
- {
- Name: "gin_leafpage_items",
- Args: []*catalog.Argument{
- {
- Name: "page",
- Type: &ast.TypeName{Name: "bytea"},
- },
- },
- ReturnType: &ast.TypeName{Name: "record"},
- },
- {
- Name: "gin_metapage_info",
- Args: []*catalog.Argument{
- {
- Name: "page",
- Type: &ast.TypeName{Name: "bytea"},
- },
- },
- ReturnType: &ast.TypeName{Name: "record"},
- },
- {
- Name: "gin_page_opaque_info",
- Args: []*catalog.Argument{
- {
- Name: "page",
- Type: &ast.TypeName{Name: "bytea"},
- },
- },
- ReturnType: &ast.TypeName{Name: "record"},
- },
- {
- Name: "gist_page_items",
- Args: []*catalog.Argument{
- {
- Name: "page",
- Type: &ast.TypeName{Name: "bytea"},
- },
- {
- Name: "index_oid",
- Type: &ast.TypeName{Name: "regclass"},
- },
- },
- ReturnType: &ast.TypeName{Name: "record"},
- },
- {
- Name: "gist_page_items_bytea",
- Args: []*catalog.Argument{
- {
- Name: "page",
- Type: &ast.TypeName{Name: "bytea"},
- },
- },
- ReturnType: &ast.TypeName{Name: "record"},
- },
- {
- Name: "gist_page_opaque_info",
- Args: []*catalog.Argument{
- {
- Name: "page",
- Type: &ast.TypeName{Name: "bytea"},
- },
- },
- ReturnType: &ast.TypeName{Name: "record"},
- },
- {
- Name: "hash_bitmap_info",
- Args: []*catalog.Argument{
- {
- Name: "index_oid",
- Type: &ast.TypeName{Name: "regclass"},
- },
- {
- Name: "blkno",
- Type: &ast.TypeName{Name: "bigint"},
- },
- },
- ReturnType: &ast.TypeName{Name: "record"},
- },
- {
- Name: "hash_metapage_info",
- Args: []*catalog.Argument{
- {
- Name: "page",
- Type: &ast.TypeName{Name: "bytea"},
- },
- },
- ReturnType: &ast.TypeName{Name: "record"},
- },
- {
- Name: "hash_page_items",
- Args: []*catalog.Argument{
- {
- Name: "page",
- Type: &ast.TypeName{Name: "bytea"},
- },
- },
- ReturnType: &ast.TypeName{Name: "record"},
- },
- {
- Name: "hash_page_stats",
- Args: []*catalog.Argument{
- {
- Name: "page",
- Type: &ast.TypeName{Name: "bytea"},
- },
- },
- ReturnType: &ast.TypeName{Name: "record"},
- },
- {
- Name: "hash_page_type",
- Args: []*catalog.Argument{
- {
- Name: "page",
- Type: &ast.TypeName{Name: "bytea"},
- },
- },
- ReturnType: &ast.TypeName{Name: "text"},
- },
- {
- Name: "heap_page_item_attrs",
- Args: []*catalog.Argument{
- {
- Name: "page",
- Type: &ast.TypeName{Name: "bytea"},
- },
- {
- Name: "rel_oid",
- Type: &ast.TypeName{Name: "regclass"},
- },
- },
- ReturnType: &ast.TypeName{Name: "record"},
- },
- {
- Name: "heap_page_item_attrs",
- Args: []*catalog.Argument{
- {
- Name: "page",
- Type: &ast.TypeName{Name: "bytea"},
- },
- {
- Name: "rel_oid",
- Type: &ast.TypeName{Name: "regclass"},
- },
- {
- Name: "do_detoast",
- Type: &ast.TypeName{Name: "boolean"},
- },
- },
- ReturnType: &ast.TypeName{Name: "record"},
- },
- {
- Name: "heap_page_items",
- Args: []*catalog.Argument{
- {
- Name: "page",
- Type: &ast.TypeName{Name: "bytea"},
- },
- },
- ReturnType: &ast.TypeName{Name: "record"},
- },
- {
- Name: "heap_tuple_infomask_flags",
- Args: []*catalog.Argument{
- {
- Name: "t_infomask",
- Type: &ast.TypeName{Name: "integer"},
- },
- {
- Name: "t_infomask2",
- Type: &ast.TypeName{Name: "integer"},
- },
- },
- ReturnType: &ast.TypeName{Name: "record"},
- },
- {
- Name: "page_checksum",
- Args: []*catalog.Argument{
- {
- Name: "page",
- Type: &ast.TypeName{Name: "bytea"},
- },
- {
- Name: "blkno",
- Type: &ast.TypeName{Name: "bigint"},
- },
- },
- ReturnType: &ast.TypeName{Name: "smallint"},
- },
- {
- Name: "page_header",
- Args: []*catalog.Argument{
- {
- Name: "page",
- Type: &ast.TypeName{Name: "bytea"},
- },
- },
- ReturnType: &ast.TypeName{Name: "record"},
- },
- {
- Name: "tuple_data_split",
- Args: []*catalog.Argument{
- {
- Name: "rel_oid",
- Type: &ast.TypeName{Name: "oid"},
- },
- {
- Name: "t_data",
- Type: &ast.TypeName{Name: "bytea"},
- },
- {
- Name: "t_infomask",
- Type: &ast.TypeName{Name: "integer"},
- },
- {
- Name: "t_infomask2",
- Type: &ast.TypeName{Name: "integer"},
- },
- {
- Name: "t_bits",
- Type: &ast.TypeName{Name: "text"},
- },
- },
- ReturnType: &ast.TypeName{Name: "bytea[]"},
- },
- {
- Name: "tuple_data_split",
- Args: []*catalog.Argument{
- {
- Name: "rel_oid",
- Type: &ast.TypeName{Name: "oid"},
- },
- {
- Name: "t_data",
- Type: &ast.TypeName{Name: "bytea"},
- },
- {
- Name: "t_infomask",
- Type: &ast.TypeName{Name: "integer"},
- },
- {
- Name: "t_infomask2",
- Type: &ast.TypeName{Name: "integer"},
- },
- {
- Name: "t_bits",
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Name: "do_detoast",
- Type: &ast.TypeName{Name: "boolean"},
- },
- },
- ReturnType: &ast.TypeName{Name: "bytea[]"},
- },
- }
- func Pageinspect() *catalog.Schema {
- s := &catalog.Schema{Name: "pg_catalog"}
- s.Funcs = funcsPageinspect
- return s
- }
|