12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- // 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 funcsAdminpack = []*catalog.Function{
- {
- Name: "pg_file_rename",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Type: &ast.TypeName{Name: "text"},
- },
- },
- ReturnType: &ast.TypeName{Name: "boolean"},
- },
- {
- Name: "pg_file_rename",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Type: &ast.TypeName{Name: "text"},
- },
- },
- ReturnType: &ast.TypeName{Name: "boolean"},
- },
- {
- Name: "pg_file_sync",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "text"},
- },
- },
- ReturnType: &ast.TypeName{Name: "void"},
- },
- {
- Name: "pg_file_unlink",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "text"},
- },
- },
- ReturnType: &ast.TypeName{Name: "boolean"},
- },
- {
- Name: "pg_file_write",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Type: &ast.TypeName{Name: "boolean"},
- },
- },
- ReturnType: &ast.TypeName{Name: "bigint"},
- },
- {
- Name: "pg_logdir_ls",
- Args: []*catalog.Argument{},
- ReturnType: &ast.TypeName{Name: "record"},
- },
- }
- func Adminpack() *catalog.Schema {
- s := &catalog.Schema{Name: "pg_catalog"}
- s.Funcs = funcsAdminpack
- return s
- }
|