Commit Graph

60 Commits (ea93b91a80201c19c00d12dfd6fddc46f443bd2a)

Author SHA1 Message Date
Sean Chittenden 56a193f228
Dept of second thoughts: remove authorization support before 0.8
9 years ago
Sean Chittenden ce60c4fede
gofmt cleanup on imports.
9 years ago
Sean Chittenden 2ecd42c0be
Remove non-standard environment variables in prep for 0.8.
9 years ago
Sean Chittenden 6ed37770c3
Add the testing Makefile that I'm using for testing the provider locally.
9 years ago
Sean Chittenden 8c41f0859b
Add the version attribute to postgresql_extension.
9 years ago
Sean Chittenden a4965c01af
Fix up helpers.
9 years ago
Sean Chittenden c602f024f4
Fix the remaining `postgresql_extension` unit test.
9 years ago
Sean Chittenden daa951434f
Teach postgresql_extension about schemas.
9 years ago
Sean Chittenden d1c9ebb6c2
Add PostgreSQL schema support
9 years ago
Sean Chittenden 1a93309e50
Expand postgresql_role support to include all known options.
9 years ago
Sean Chittenden 4c6c52ee8d
Nuke some whitespace.
9 years ago
Sean Chittenden 6deb61b0cf
Enable import support for PostgreSQL's extensions.
9 years ago
Sean Chittenden e36827c5fe
Change the default for `valid_until` to `infinity` to match the default.
9 years ago
Sean Chittenden e9dc92c18d
Change the default for `inherit` from `false` to `true` to match PostgreSQL.
9 years ago
Sean Chittenden b576a3eda1
Rename variable from `roleSuperUserAttr` to `roleSuperuserAttr`.
9 years ago
Sean Chittenden 15cd542392
Remove a duplicate `connect_timeout` from a rebase+stash.
9 years ago
Sean Chittenden e2448473cb
Clean up the DatabaseCreate call.
9 years ago
Sean Chittenden db5d7b0438
Style nit
9 years ago
Sean Chittenden bfc2a2d42f
Commit WIP re: updated postgresql_role provider.
9 years ago
Sean Chittenden 2e529146a5
Remove unused code.
9 years ago
Sean Chittenden 6b540ecb55
Don't use d.GetOk() when the zero value is a required attribute.
9 years ago
Sean Chittenden 37fdc958b3
Always remove the IS_TEMPLATE attribute before dropping a database.
9 years ago
Sean Chittenden e9b2b38288
Remove SetId() call from *Read(), this isn't required for import to work.
9 years ago
Sean Chittenden f253fc9eff
Commit miss earlier, fix syntax from unstaged commit.
9 years ago
Sean Chittenden 5280c37bea
`postgresql_database` resource provider should now be feature complete.
9 years ago
Sean Chittenden 59f4ad6fd1
Alpha sort the resources in the PostgreSQL map.
9 years ago
Sean Chittenden 300ef2bc97
Add `connect_timeout` support to the PostgreSQL provider.
9 years ago
Sean Chittenden 3750bf7af2
Depreciate the PostgreSQL provider's `ssl_mode` option in favor of `sslmode`.
9 years ago
Sean Chittenden a200899d93
Allow the PostgreSQL provider to talk to a non-default database.
9 years ago
Sean Chittenden 602a908d7b
Add a `fallback_application_name` to the PostgreSQL DSN.
9 years ago
Sean Chittenden 44d907a3de
Revert "Prefer PGHOSTADDR over PGHOST, if set." lib/pq doesn't support PGHOSTADDR.
9 years ago
Sean Chittenden 55061d190a
Prefer PGHOSTADDR over PGHOST, if set.
9 years ago
Sean Chittenden 3779dfffa9
Use a string instead of the `%t` modifier for printing a bool in SQL
9 years ago
Sean Chittenden 5b66bf0745
ForceNew is required when changing the locale, ctype, and encoding.
9 years ago
Sean Chittenden 547dcf27e1
Decorate the computed attribute where appropriate
9 years ago
Sean Chittenden 242405bdf1
Factor out the validate function for connection limits
9 years ago
Sean Chittenden 02dea2edd9
Add missing descriptions to owner and name
9 years ago
Sean Chittenden deb91f61ce
Update the descriptions to mostly match the official PostgreSQL docs.
9 years ago
Sean Chittenden 68cadd3c2a
Update the FIXME/TODO style to match Google style guides
9 years ago
Sean Chittenden f3add9e7ef
Flesh out the CREATE DATABASE for PostgreSQL.
9 years ago
Sean Chittenden 2aee081e4b
Eh, specify default values lib/pq zero initializes itself
9 years ago
Sean Chittenden 7e5ccc089b
Spell `ssl_mode` like `sslmode`
9 years ago
Sean Chittenden 655617ed6a
Remove the PGPASSWORD requirement for tests.
9 years ago
Sean Chittenden ec130d538c
Add comments requesting that the testing-specific environment variables
9 years ago
Sean Chittenden b68ef2c40b
Fall through to using the defaults from github.com/lib/pq
9 years ago
Sean Chittenden f31ebff10e
Change the PostgreSQL PGSSLMODE option to sslmode to match PostgreSQL idioms.
9 years ago
Alexander Kyxap f993f0e70e Added 'connect_timeout' argument to provider 'postgresql' (#10380)
9 years ago
stack72 f5cd90c13e
provider/postgresql: Fixing up the PG Extension test
10 years ago
Sam Dunne cb40a3ef14
Format code
10 years ago
Sam Dunne 5dbd9423cc
Update based off review
10 years ago