extension.go 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. // Code generated by sqlc-pg-gen. DO NOT EDIT.
  2. package postgresql
  3. import (
  4. "github.com/kyleconroy/sqlc/internal/engine/postgresql/contrib"
  5. "github.com/kyleconroy/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 "pgcrypto":
  46. return contrib.Pgcrypto()
  47. case "pg_freespacemap":
  48. return contrib.PgFreespacemap()
  49. case "pg_prewarm":
  50. return contrib.PgPrewarm()
  51. case "pg_stat_statements":
  52. return contrib.PgStatStatements()
  53. case "pgstattuple":
  54. return contrib.Pgstattuple()
  55. case "pg_trgm":
  56. return contrib.PgTrgm()
  57. case "pg_visibility":
  58. return contrib.PgVisibility()
  59. case "postgres_fdw":
  60. return contrib.PostgresFdw()
  61. case "seg":
  62. return contrib.Seg()
  63. case "sslinfo":
  64. return contrib.Sslinfo()
  65. case "tablefunc":
  66. return contrib.Tablefunc()
  67. case "tcn":
  68. return contrib.Tcn()
  69. case "unaccent":
  70. return contrib.Unaccent()
  71. case "uuid-ossp":
  72. return contrib.UuidOssp()
  73. case "xml2":
  74. return contrib.Xml2()
  75. }
  76. return nil
  77. }