Skip to content

Releases: cyrilgdn/terraform-provider-postgresql

v1.17.0

19 Aug 17:11
ec9a057
Compare
Choose a tag to compare
v1.17.0

v1.16.0

08 May 14:47
4c52d3a
Compare
Choose a tag to compare
v1.16.0

v1.15.0

04 Feb 16:39
fb66e4a
Compare
Choose a tag to compare
v1.15.0

v1.14.0

22 Aug 13:58
aa432f7
Compare
Choose a tag to compare
v1.14.0

v1.13.0

21 May 08:56
26f257d
Compare
Choose a tag to compare
v1.13.0

v1.13.0-pre1

23 Apr 12:45
7ba6405
Compare
Choose a tag to compare
fix: Stop locking catalog for every resources.

Historically, this provider takes a (golang) lock on a database for every resource of this database.
So only one create/update/delete of resource by database can be done at the same time.

(As it's a RWLock, read of resources can be parallelized)

Since #5 refactoring, I mistakenly change the lock which now takes a write lock even for read operations
(basically the plan part of Terraform). So provider was slower since v1.10

We could fix this and take a read lock for read operations as before but actually I don't see the point of this lock.
For me, most operations could be done at the same time.

Most of the request are now done in a transaction, the only risk is that a transaction will fail to commit
if multiple resources modifies the same database line.
That's the case for `postgresql_default_privileges`, one `pg_default_acl` row could represents multiple resources,
so this PR takes a lock on the owner role to avoid that.

This should make the provider way faster.

Fix #48

v1.12.1

23 Apr 12:47
3f20f95
Compare
Choose a tag to compare
v1.12.1

v1.12.0

26 Mar 08:39
a032747
Compare
Choose a tag to compare
v1.12.0

v1.11.2

16 Feb 18:54
dc0f33d
Compare
Choose a tag to compare
tests: Use Github actions instead of Travis (#58)

v1.11.1

02 Feb 21:55
c43928d
Compare
Choose a tag to compare
v1.11.1