123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269 |
- // 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 funcsBtreeGist = []*catalog.Function{
- {
- Name: "cash_dist",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "money"},
- },
- {
- Type: &ast.TypeName{Name: "money"},
- },
- },
- ReturnType: &ast.TypeName{Name: "money"},
- },
- {
- Name: "date_dist",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "date"},
- },
- {
- Type: &ast.TypeName{Name: "date"},
- },
- },
- ReturnType: &ast.TypeName{Name: "integer"},
- },
- {
- Name: "float4_dist",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "real"},
- },
- {
- Type: &ast.TypeName{Name: "real"},
- },
- },
- ReturnType: &ast.TypeName{Name: "real"},
- },
- {
- Name: "float8_dist",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "double precision"},
- },
- {
- Type: &ast.TypeName{Name: "double precision"},
- },
- },
- ReturnType: &ast.TypeName{Name: "double precision"},
- },
- {
- Name: "gbtreekey16_in",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "cstring"},
- },
- },
- ReturnType: &ast.TypeName{Name: "gbtreekey16"},
- },
- {
- Name: "gbtreekey16_out",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "gbtreekey16"},
- },
- },
- ReturnType: &ast.TypeName{Name: "cstring"},
- },
- {
- Name: "gbtreekey2_in",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "cstring"},
- },
- },
- ReturnType: &ast.TypeName{Name: "gbtreekey2"},
- },
- {
- Name: "gbtreekey2_out",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "gbtreekey2"},
- },
- },
- ReturnType: &ast.TypeName{Name: "cstring"},
- },
- {
- Name: "gbtreekey32_in",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "cstring"},
- },
- },
- ReturnType: &ast.TypeName{Name: "gbtreekey32"},
- },
- {
- Name: "gbtreekey32_out",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "gbtreekey32"},
- },
- },
- ReturnType: &ast.TypeName{Name: "cstring"},
- },
- {
- Name: "gbtreekey4_in",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "cstring"},
- },
- },
- ReturnType: &ast.TypeName{Name: "gbtreekey4"},
- },
- {
- Name: "gbtreekey4_out",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "gbtreekey4"},
- },
- },
- ReturnType: &ast.TypeName{Name: "cstring"},
- },
- {
- Name: "gbtreekey8_in",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "cstring"},
- },
- },
- ReturnType: &ast.TypeName{Name: "gbtreekey8"},
- },
- {
- Name: "gbtreekey8_out",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "gbtreekey8"},
- },
- },
- ReturnType: &ast.TypeName{Name: "cstring"},
- },
- {
- Name: "gbtreekey_var_in",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "cstring"},
- },
- },
- ReturnType: &ast.TypeName{Name: "gbtreekey_var"},
- },
- {
- Name: "gbtreekey_var_out",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "gbtreekey_var"},
- },
- },
- ReturnType: &ast.TypeName{Name: "cstring"},
- },
- {
- Name: "int2_dist",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "smallint"},
- },
- {
- Type: &ast.TypeName{Name: "smallint"},
- },
- },
- ReturnType: &ast.TypeName{Name: "smallint"},
- },
- {
- Name: "int4_dist",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "integer"},
- },
- {
- Type: &ast.TypeName{Name: "integer"},
- },
- },
- ReturnType: &ast.TypeName{Name: "integer"},
- },
- {
- Name: "int8_dist",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "bigint"},
- },
- {
- Type: &ast.TypeName{Name: "bigint"},
- },
- },
- ReturnType: &ast.TypeName{Name: "bigint"},
- },
- {
- Name: "interval_dist",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "interval"},
- },
- {
- Type: &ast.TypeName{Name: "interval"},
- },
- },
- ReturnType: &ast.TypeName{Name: "interval"},
- },
- {
- Name: "oid_dist",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "oid"},
- },
- {
- Type: &ast.TypeName{Name: "oid"},
- },
- },
- ReturnType: &ast.TypeName{Name: "oid"},
- },
- {
- Name: "time_dist",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "time without time zone"},
- },
- {
- Type: &ast.TypeName{Name: "time without time zone"},
- },
- },
- ReturnType: &ast.TypeName{Name: "interval"},
- },
- {
- Name: "ts_dist",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "timestamp without time zone"},
- },
- {
- Type: &ast.TypeName{Name: "timestamp without time zone"},
- },
- },
- ReturnType: &ast.TypeName{Name: "interval"},
- },
- {
- Name: "tstz_dist",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "timestamp with time zone"},
- },
- {
- Type: &ast.TypeName{Name: "timestamp with time zone"},
- },
- },
- ReturnType: &ast.TypeName{Name: "interval"},
- },
- }
- func BtreeGist() *catalog.Schema {
- s := &catalog.Schema{Name: "pg_catalog"}
- s.Funcs = funcsBtreeGist
- return s
- }
|