extension.go 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. // Code generated by sqlc-pg-gen. DO NOT EDIT.
  2. package postgresql
  3. import (
  4. "github.com/sqlc-dev/sqlc/internal/engine/postgresql/contrib"
  5. "github.com/sqlc-dev/sqlc/internal/sql/catalog"
  6. )
  7. func loadExtension(name string) *catalog.Schema {
  8. switch name {
  9. case "adminpack":
  10. return contrib.Adminpack()
  11. case "amcheck":
  12. return contrib.Amcheck()
  13. case "btree_gin":
  14. return contrib.BtreeGin()
  15. case "btree_gist":
  16. return contrib.BtreeGist()
  17. case "citext":
  18. return contrib.Citext()
  19. case "cube":
  20. return contrib.Cube()
  21. case "dblink":
  22. return contrib.Dblink()
  23. case "earthdistance":
  24. return contrib.Earthdistance()
  25. case "file_fdw":
  26. return contrib.FileFdw()
  27. case "fuzzystrmatch":
  28. return contrib.Fuzzystrmatch()
  29. case "hstore":
  30. return contrib.Hstore()
  31. case "intagg":
  32. return contrib.Intagg()
  33. case "intarray":
  34. return contrib.Intarray()
  35. case "isn":
  36. return contrib.Isn()
  37. case "lo":
  38. return contrib.Lo()
  39. case "ltree":
  40. return contrib.Ltree()
  41. case "pageinspect":
  42. return contrib.Pageinspect()
  43. case "pg_buffercache":
  44. return contrib.PgBuffercache()
  45. case "pg_freespacemap":
  46. return contrib.PgFreespacemap()
  47. case "pg_prewarm":
  48. return contrib.PgPrewarm()
  49. case "pg_stat_statements":
  50. return contrib.PgStatStatements()
  51. case "pg_trgm":
  52. return contrib.PgTrgm()
  53. case "pg_visibility":
  54. return contrib.PgVisibility()
  55. case "pgcrypto":
  56. return contrib.Pgcrypto()
  57. case "pgrowlocks":
  58. return contrib.Pgrowlocks()
  59. case "pgstattuple":
  60. return contrib.Pgstattuple()
  61. case "postgres_fdw":
  62. return contrib.PostgresFdw()
  63. case "seg":
  64. return contrib.Seg()
  65. case "sslinfo":
  66. return contrib.Sslinfo()
  67. case "tablefunc":
  68. return contrib.Tablefunc()
  69. case "tcn":
  70. return contrib.Tcn()
  71. case "unaccent":
  72. return contrib.Unaccent()
  73. case "uuid-ossp":
  74. return contrib.UuidOssp()
  75. case "xml2":
  76. return contrib.Xml2()
  77. }
  78. return nil
  79. }