amcheck.go 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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 funcsAmcheck = []*catalog.Function{
  8. {
  9. Name: "bt_index_check",
  10. Args: []*catalog.Argument{
  11. {
  12. Name: "index",
  13. Type: &ast.TypeName{Name: "regclass"},
  14. },
  15. },
  16. ReturnType: &ast.TypeName{Name: "void"},
  17. },
  18. {
  19. Name: "bt_index_check",
  20. Args: []*catalog.Argument{
  21. {
  22. Name: "index",
  23. Type: &ast.TypeName{Name: "regclass"},
  24. },
  25. {
  26. Name: "heapallindexed",
  27. Type: &ast.TypeName{Name: "boolean"},
  28. },
  29. },
  30. ReturnType: &ast.TypeName{Name: "void"},
  31. },
  32. {
  33. Name: "bt_index_parent_check",
  34. Args: []*catalog.Argument{
  35. {
  36. Name: "index",
  37. Type: &ast.TypeName{Name: "regclass"},
  38. },
  39. },
  40. ReturnType: &ast.TypeName{Name: "void"},
  41. },
  42. {
  43. Name: "bt_index_parent_check",
  44. Args: []*catalog.Argument{
  45. {
  46. Name: "index",
  47. Type: &ast.TypeName{Name: "regclass"},
  48. },
  49. {
  50. Name: "heapallindexed",
  51. Type: &ast.TypeName{Name: "boolean"},
  52. },
  53. },
  54. ReturnType: &ast.TypeName{Name: "void"},
  55. },
  56. {
  57. Name: "bt_index_parent_check",
  58. Args: []*catalog.Argument{
  59. {
  60. Name: "index",
  61. Type: &ast.TypeName{Name: "regclass"},
  62. },
  63. {
  64. Name: "heapallindexed",
  65. Type: &ast.TypeName{Name: "boolean"},
  66. },
  67. {
  68. Name: "rootdescend",
  69. Type: &ast.TypeName{Name: "boolean"},
  70. },
  71. },
  72. ReturnType: &ast.TypeName{Name: "void"},
  73. },
  74. {
  75. Name: "verify_heapam",
  76. Args: []*catalog.Argument{
  77. {
  78. Name: "relation",
  79. Type: &ast.TypeName{Name: "regclass"},
  80. },
  81. {
  82. Name: "on_error_stop",
  83. HasDefault: true,
  84. Type: &ast.TypeName{Name: "boolean"},
  85. },
  86. {
  87. Name: "check_toast",
  88. HasDefault: true,
  89. Type: &ast.TypeName{Name: "boolean"},
  90. },
  91. {
  92. Name: "skip",
  93. HasDefault: true,
  94. Type: &ast.TypeName{Name: "text"},
  95. },
  96. {
  97. Name: "startblock",
  98. HasDefault: true,
  99. Type: &ast.TypeName{Name: "bigint"},
  100. },
  101. {
  102. Name: "endblock",
  103. HasDefault: true,
  104. Type: &ast.TypeName{Name: "bigint"},
  105. },
  106. },
  107. ReturnType: &ast.TypeName{Name: "record"},
  108. },
  109. }
  110. func Amcheck() *catalog.Schema {
  111. s := &catalog.Schema{Name: "pg_catalog"}
  112. s.Funcs = funcsAmcheck
  113. return s
  114. }