Commit graph

11 commits

Author SHA1 Message Date
Lance Edgar 8b8df95633 Add postgresql.script() for running arbitrary SQL script 2020-12-13 15:54:03 -06:00
Lance Edgar 47c27eaba5 Don't use sudo for parts of postgresql.restore_db()
since apparently that is a problem
2020-10-08 13:58:55 -05:00
Lance Edgar 97ed8eeff0 Split up the dump/restore DB logic for postgresql
so that i can swap out portions of that in order to use rsync for big DBs
2020-10-07 17:54:45 -05:00
Lance Edgar 88a08fcf8f Try to suppress output when setting password for postgresql 2020-02-06 23:23:08 -06:00
Lance Edgar 56acb30008 Add postgresql.reload() function 2019-10-29 20:55:24 -05:00
Lance Edgar 325f85a4b3 Add postgresql.create_schema() 2019-10-04 23:08:39 -05:00
Lance Edgar 21bdc2b391 Add postgresql.get_version() function 2019-09-23 15:25:39 -05:00
Lance Edgar b9c8a8d104 Add postgresql.restart() convenience function 2019-09-13 13:24:18 -05:00
Lance Edgar bac78764d0 Fix how we run sudo commands as postgres user 2019-02-19 22:36:35 -06:00
Lance Edgar 76ab2915c8 Add functions for cloning postgres DB 2018-12-03 22:14:55 -06:00
Lance Edgar e8769c8245 Initial commit; enough to prove concepts at least
was able to bootstrap a complete machine with this, although there's lots
missing yet...
2018-12-03 01:11:38 -06:00