1
1
mirror of https://github.com/yandex/pgmigrate.git synced 2024-09-19 16:17:24 +03:00
Commit Graph

35 Commits

Author SHA1 Message Date
secwall
d33123c656 Bump copyright for 2022 2022-02-02 09:16:26 +03:00
secwall
120b9d5188 Add version gaps check 2021-12-29 12:08:31 +03:00
secwall
8cbc76a654 Add file path to statement apply error log 2021-08-07 11:01:55 +03:00
secwall
a01b512b68 Skip unnecessary schema creation on init 2021-07-10 00:30:14 +03:00
secwall
7a18ac1cbb Bump copyright for 2021 2021-01-01 23:35:59 +03:00
secwall
c58d163f5d Fix errors on empty config and config sections
This commit fixes the rest of issue #22
2020-10-20 17:47:20 +03:00
secwall
29208b2608 Fix error on empty callback lists in config
This commit fixes issue #22
2020-10-20 17:14:21 +03:00
secwall
790870c000 Make dsn manipulations more robust 2020-05-14 18:25:57 +03:00
secwall
1aa3687e2f Add schema restriction support 2020-03-27 03:55:34 +03:00
secwall
1a1aedd89c Update copyright and bump yapf to 0.29.0 2020-01-09 02:06:23 +03:00
secwall
1dcf5cb5aa Use application_name instead of backend pid for conflict termination.
Defect was discovered by Alexander Artemenko (@svetlyak40wt).
If pgmigrate is used with pgbouncer in transaction pooling mode
conflict termination will fail to correctly find pgmigrate connections.
In order to fix this we pass random application_name in dsn for each
connection. We use LIKE-query because connection pooler could append host/port
to original value.
2019-11-02 02:31:24 +03:00
secwall
72d78aeebf Bump postgres and yapf versions 2019-11-02 00:43:40 +03:00
secwall
b22a07e8cb Fix copyright check 2019-04-14 21:09:35 +03:00
secwall
ed897ffb97 Bump deps versions 2019-04-14 20:55:33 +03:00
secwall
8f109e797d Upgrade to bionic, drop python 3.5 and add yapf 2018-08-18 22:34:31 +03:00
secwall
676082c3a7 Fix subdir handling in migrations dir 2018-04-03 15:06:38 +03:00
secwall
1305fd109a Allow using subdirs in migrations folder 2018-04-03 06:03:44 +03:00
secwall
5daeef816c Log terminated backend pids 2017-12-03 18:03:08 +03:00
secwall
3254c48c07 Fix help for termination_interval 2017-12-03 01:46:47 +03:00
secwall
dc183150b2 Add blocking pids termination 2017-12-03 01:39:30 +03:00
secwall
bab18b983d Add warning message on skipped migration files and document migration file format in tutorial
This change is based on proposal by Ernst Haagsman
2017-12-02 22:02:44 +03:00
secwall
76c828baf9 Raise error on missing migrations directory
This change is based on proposal by Ernst Haagsman
2017-12-02 21:44:49 +03:00
secwall
671dc3c0c7 Refactor code a bit and add more linters 2017-12-02 21:13:31 +03:00
Vladimir Antipin
20633e6dde Fix migration error with comment at the end of file 2017-04-06 02:33:47 +03:00
secwall
e8c285c245 Fix callbacks in transactional/nontransactional migrations mix on db init 2017-04-05 16:08:43 +03:00
secwall
cc0ae62654 Speed up get_info function a bit 2017-04-03 17:04:46 +03:00
secwall
5bc9166453 Add session setup option 2017-04-01 22:11:47 +03:00
secwall
6a75b43d7c Fix info command fail without target on initialized database 2017-04-01 15:50:39 +03:00
secwall
a2e7c694fa Add option to override user in migration meta 2017-04-01 14:20:13 +03:00
secwall
453398c988 Support 'latest' target version 2017-04-01 13:05:14 +03:00
secwall
77d7df4a22 Sort info command output by version.
Original idea suggested by Vadim Bahmatovich.
2017-03-31 13:38:56 +03:00
secwall
ef28bd8a57 Fix bug with python format patterns in migration text 2017-03-30 17:07:15 +03:00
secwall
21849625b2 Fix flake8 checks 2017-02-14 20:26:09 +03:00
Vladimir Borodin
c05d66574f Updated copyrights 2017-02-06 13:00:04 +03:00
secwall
d29ccdd3ef First opensource version - PGmigrate 1.0.0 2016-10-03 18:52:42 +03:00