Commit Graph

15 Commits

Author SHA1 Message Date
Technerder
bab82c9802 Added original postgre implementation back 2021-07-26 22:35:26 -04:00
Technerder
73a941a879 Moved new postgres implementation to v2 folder, also added nil check for db object in postgres config 2021-07-26 15:34:46 -04:00
Technerder
c050ff8e3d Updated import to use v4 of pgx 2021-07-16 14:27:42 -04:00
Technerder
1fec873770 Modified storage to take in a pgxpool.Pool object 2021-07-15 19:49:03 -04:00
Technerder
85e612ec79 Removed Postgre Close test since the pgx implementation of Close() doesn't return an error,
Removed Storage.Close()'s return method since the pgx implementation of Close() doesn't return an error,
Removed Config.maxIdleConns since pgx implementation doesn't support setting a maximum number of idle connections
2021-07-02 18:04:33 -04:00
Roman
7bbbc01f84 feature: integrate SSL mode for PG connections (#77)
Right now, the default connection for postgres is `disable`. Some
databases require `verify` or even `required`.
This PR introduces a new implementation that allows the user to override
the `disable` mode. The PR keeps a backwards compatible config entry, that
sets the default behavior to `disable` if it's missing.
2021-05-18 13:00:40 +02:00
Fenny
deb10fb2a7 🩹 fix duration check 2020-11-13 18:35:23 +01:00
Fenny
f9a30234b9 🧹 introduce reset and close 2020-11-06 01:41:46 +01:00
Fenny
88483745a5 zz 2020-11-05 09:03:33 +01:00
Fenny
b4a848ca29 🎄 xmas present 2020-11-05 04:17:05 +01:00
Fenny
a6058cffb3 ✏ refactor storage 2020-11-04 20:49:53 +01:00
Fenny
dd72caf629 📦 postgres
Co-Authored-By: Alireza Salary <arsmn1996@gmail.com>
2020-11-01 12:25:26 +01:00
Fenny
127aa2a67d 🎑 update sqlite3 2020-11-01 10:52:23 +01:00
Fenny
0692b9048e 🦴 update skeleton 2020-10-31 11:58:00 +01:00
Fenny
0d15cb4e81 🦴 update boilerplate 2020-10-31 11:11:01 +01:00