1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- // 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 funcsPgStatStatements = []*catalog.Function{
- {
- Name: "pg_stat_statements",
- Args: []*catalog.Argument{
- {
- Name: "showtext",
- Type: &ast.TypeName{Name: "boolean"},
- },
- },
- ReturnType: &ast.TypeName{Name: "record"},
- },
- {
- Name: "pg_stat_statements_info",
- Args: []*catalog.Argument{},
- ReturnType: &ast.TypeName{Name: "record"},
- },
- {
- Name: "pg_stat_statements_reset",
- Args: []*catalog.Argument{
- {
- Name: "userid",
- HasDefault: true,
- Type: &ast.TypeName{Name: "oid"},
- },
- {
- Name: "dbid",
- HasDefault: true,
- Type: &ast.TypeName{Name: "oid"},
- },
- {
- Name: "queryid",
- HasDefault: true,
- Type: &ast.TypeName{Name: "bigint"},
- },
- },
- ReturnType: &ast.TypeName{Name: "void"},
- },
- }
- func PgStatStatements() *catalog.Schema {
- s := &catalog.Schema{Name: "pg_catalog"}
- s.Funcs = funcsPgStatStatements
- return s
- }
|