1
0

pg_freespacemap.go 745 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. // Code generated by sqlc-pg-gen. DO NOT EDIT.
  2. package contrib
  3. import (
  4. "github.com/sqlc-dev/sqlc/internal/sql/ast"
  5. "github.com/sqlc-dev/sqlc/internal/sql/catalog"
  6. )
  7. var funcsPgFreespacemap = []*catalog.Function{
  8. {
  9. Name: "pg_freespace",
  10. Args: []*catalog.Argument{
  11. {
  12. Name: "rel",
  13. Type: &ast.TypeName{Name: "regclass"},
  14. },
  15. },
  16. ReturnType: &ast.TypeName{Name: "record"},
  17. },
  18. {
  19. Name: "pg_freespace",
  20. Args: []*catalog.Argument{
  21. {
  22. Type: &ast.TypeName{Name: "regclass"},
  23. },
  24. {
  25. Type: &ast.TypeName{Name: "bigint"},
  26. },
  27. },
  28. ReturnType: &ast.TypeName{Name: "smallint"},
  29. },
  30. }
  31. func PgFreespacemap() *catalog.Schema {
  32. s := &catalog.Schema{Name: "pg_catalog"}
  33. s.Funcs = funcsPgFreespacemap
  34. return s
  35. }