Commit Graph

15 Commits (03f6c650ca9e78fc0d80d430ca1ec2a52c262da4)

Author SHA1 Message Date
Sean Chittenden 4278c615af
Follow up to #11161 to fix `connection_limit` updates to a ROLE.
9 years ago
pbthorste 11f680a88e remove computed true for postgres connections
9 years ago
pbthorste 0c1175f78b set default postgres connection limit
9 years ago
Sean Chittenden 152b0b1ff6
Fix compile: return a string, not an error to `errwrap`
9 years ago
Sean Chittenden 4570460f4e
Audit all call sites where `fmt.Errorf()` was being used and switch to errwrap.
9 years ago
Sean Chittenden 9ab60ecc7b
Add an Exists function for each resource type. Also add a provider RWMutex.
9 years ago
Sean Chittenden 897609878f
Automatically perform a `REASSIGN OWNED` and `DROP OWNED BY` when
9 years ago
Sean Chittenden 1a93309e50
Expand postgresql_role support to include all known options.
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 bfc2a2d42f
Commit WIP re: updated postgresql_role provider.
9 years ago
James Nugent 34a17d3b46 provider/postgres: Correct casing -> PostgreSQL
10 years ago
James Nugent 260179543a provider/postgres: Clean up definitions and errors
10 years ago
Adrian Chelaru e1eef15646 postgresql provider with "database" and "role" resources
11 years ago