pg_visibility.go 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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 funcsPgVisibility = []*catalog.Function{
  8. {
  9. Name: "pg_check_frozen",
  10. Args: []*catalog.Argument{
  11. {
  12. Type: &ast.TypeName{Name: "regclass"},
  13. },
  14. },
  15. ReturnType: &ast.TypeName{Name: "tid"},
  16. },
  17. {
  18. Name: "pg_check_visible",
  19. Args: []*catalog.Argument{
  20. {
  21. Type: &ast.TypeName{Name: "regclass"},
  22. },
  23. },
  24. ReturnType: &ast.TypeName{Name: "tid"},
  25. },
  26. {
  27. Name: "pg_truncate_visibility_map",
  28. Args: []*catalog.Argument{
  29. {
  30. Type: &ast.TypeName{Name: "regclass"},
  31. },
  32. },
  33. ReturnType: &ast.TypeName{Name: "void"},
  34. },
  35. {
  36. Name: "pg_visibility",
  37. Args: []*catalog.Argument{
  38. {
  39. Type: &ast.TypeName{Name: "regclass"},
  40. },
  41. },
  42. ReturnType: &ast.TypeName{Name: "record"},
  43. },
  44. {
  45. Name: "pg_visibility",
  46. Args: []*catalog.Argument{
  47. {
  48. Type: &ast.TypeName{Name: "regclass"},
  49. },
  50. {
  51. Name: "blkno",
  52. Type: &ast.TypeName{Name: "bigint"},
  53. },
  54. },
  55. ReturnType: &ast.TypeName{Name: "record"},
  56. },
  57. {
  58. Name: "pg_visibility_map",
  59. Args: []*catalog.Argument{
  60. {
  61. Type: &ast.TypeName{Name: "regclass"},
  62. },
  63. },
  64. ReturnType: &ast.TypeName{Name: "record"},
  65. },
  66. {
  67. Name: "pg_visibility_map",
  68. Args: []*catalog.Argument{
  69. {
  70. Type: &ast.TypeName{Name: "regclass"},
  71. },
  72. {
  73. Name: "blkno",
  74. Type: &ast.TypeName{Name: "bigint"},
  75. },
  76. },
  77. ReturnType: &ast.TypeName{Name: "record"},
  78. },
  79. {
  80. Name: "pg_visibility_map_summary",
  81. Args: []*catalog.Argument{
  82. {
  83. Type: &ast.TypeName{Name: "regclass"},
  84. },
  85. },
  86. ReturnType: &ast.TypeName{Name: "record"},
  87. },
  88. }
  89. func PgVisibility() *catalog.Schema {
  90. s := &catalog.Schema{Name: "pg_catalog"}
  91. s.Funcs = funcsPgVisibility
  92. return s
  93. }