1
0
Fork 0
Commit Graph

2266 Commits

Author SHA1 Message Date
Irina Truong 7423f9d239
Bump pgspecial. (#1319) 2022-02-28 13:51:56 -08:00
Daniele Varrazzo 25eb9f541b
Add some comments about porting from psycopg 2 to 3 (#1318) 2022-02-22 09:02:16 -08:00
Irina Truong 02134daad7 Releasing version 3.4.0 2022-02-21 12:28:32 -08:00
Irina Truong 72204adb98
Prepare to release 3.4.0. (#1315)
* Prepare to release 3.4.0.

* Add the TBD section.
2022-02-21 12:27:39 -08:00
Bruno Inec 54f0cc9ddd
ssh tunnels: allow configuring auto matches (#1302) 2022-02-21 10:20:11 -08:00
Bruno Inec ed9d123073
Add SSH tunnel support (#1301)
* Add initial sshtunnel support

* Force CI to rerun.

* Fix unit test for 3.6.

* Black.

Co-authored-by: Irina Truong <i.chernyavska@gmail.com>
2022-02-18 14:57:42 -08:00
Amjith Ramanujam 78843ac30f Releasing version 3.3.1 2022-01-18 12:58:45 -08:00
Amjith Ramanujam 5137a125f2 Update changelog. 2022-01-18 12:57:53 -08:00
Amjith Ramanujam a981564f9d
Upgrade cli_helpers to workaround the Pygments regression. (#1310) 2022-01-18 12:33:26 -08:00
Amjith Ramanujam 1ea687e197
Merge pull request #1308 from dbcli/always_ask_password-w
Always ask password w
2022-01-13 16:02:50 -08:00
Amjith Ramanujam a082b7cb72 Fix the changelog format again. 2022-01-13 13:05:58 -08:00
Amjith Ramanujam b5a523b7da Fix the changelog format 2022-01-13 12:59:07 -08:00
Amjith Ramanujam 2b2317e0b0 Update changelog. 2022-01-13 10:13:43 -08:00
Amjith Ramanujam 338ea2186e Change the order for password prompt and keychain. 2022-01-13 09:27:47 -08:00
Amjith Ramanujam 6d719b628d Releasing version 3.3.0 2022-01-11 08:37:41 -08:00
Amjith Ramanujam 3bb7dd8256 Update changelog for 3.3.0 2022-01-11 08:37:27 -08:00
Amjith Ramanujam 3b113bd831 Update changelog for 3.3.0 2022-01-11 08:35:57 -08:00
Amjith Ramanujam d29b1027c7
Merge pull request #1304 from dbcli/amjith-patch-1
Workaround pygments related issue.
2022-01-11 08:20:25 -08:00
Amjith Ramanujam 6d2021b263
Workaround pygments related issue.
Related pygments issue: https://github.com/pygments/pygments/issues/2027
2022-01-10 12:57:36 -08:00
Edoardo Ceccarelli 5811515a96
no need to strip_comments (#1296) 2021-11-18 11:58:38 -08:00
Saif Hakim 123e00a086
Re-run last query with bare `\watch` (#1283)
* Re-run last query with bare `\watch`

* add test

* clean up post test refactor

* lint

* rerun tests
2021-09-30 12:00:31 -07:00
Irina Truong c65495716d
Add setting in config to control truncating field values. (#1285)
* Add setting in config to truncate field value.

* Black.

* Changelog.

* Fix tests.
2021-09-03 16:58:03 -07:00
Amjith Ramanujam 0f54b126b3 Releasing version 3.2.0 2021-08-23 09:02:03 -07:00
Amjith Ramanujam d10158dc72 Update changelog for 3.2.0 release. 2021-08-23 09:01:33 -07:00
Irina Truong e0a4c18c4a
Another attempt to fix pgbouncer error (1093.) (#1097)
* Another attempt to fix pgbouncer error (1093.)

* Fixes for various pgbouncer problems.

* different approach with custom cursor.

* Fix rebase.

* Missed this.

* Fix completion refresher test.

* Black.

* Unused import.

* Changelog.

* Fix race condition in test.

* Switch from is_pgbouncer to more generic is_virtual_database, and duck-type it. Add very dumb unit test for virtual cursor.

* Remove debugger code.
2021-05-21 15:32:34 -07:00
Amjith Ramanujam d8532df22e
Merge pull request #1266 from dbcli/search_path_functions
Include functions from search_path in completion.
2021-05-07 12:52:45 -07:00
Amjith Ramanujam 898f8255e0 Blacken. 2021-05-07 12:43:32 -07:00
Amjith Ramanujam c196c28e78 Add tests for search_path function completion. 2021-05-07 12:36:40 -07:00
Amjith Ramanujam 7304cf3708 Change precommit hook to use stable black. 2021-05-06 21:21:38 -07:00
Amjith Ramanujam 6309dd4f93 Blacken. 2021-05-06 21:20:12 -07:00
Amjith Ramanujam 1d2570f462 Include functions from search_path in completion. 2021-05-06 21:12:48 -07:00
Amjith Ramanujam 0ada5a6c6a
Merge pull request #1265 from psacawa/func-pr
WIP: Support Missing Function Literals
2021-05-06 08:12:47 -07:00
Amjith Ramanujam 3a95530677
Merge branch 'master' into func-pr 2021-05-06 08:12:31 -07:00
Paweł Sacawa 26bdc4e759 Add missing function literals 2021-05-06 05:15:05 -04:00
Amjith Ramanujam 2fe94c38b4 Black formatting. 2021-05-05 21:01:12 -07:00
Amjith Ramanujam 803a9d3294
Merge pull request #1263 from psacawa/pr
Fix: ANSI escape codes in first line make the cli choose expanded output incorrectly...
2021-05-05 20:59:53 -07:00
Paweł Sacawa 773f69ba43 Modify changelog 2021-05-02 18:27:55 -04:00
Paweł Sacawa 8de796c59c Fix: ANSI escape codes in first line make the cli choose expanded output incorrectly...
The format_output chooses to output as a table or in the expanded
format on the basis of the length of the first line of the table
formatter (`len`). However, this first line contains a lot of ANSI
excape codes, so this comparison is wrong, and the expanded mode
is used either way. This patch strips these escape codes before the
comparison.
2021-05-02 18:18:35 -04:00
Irina Truong 954b8c3902
Use configured pager if table format is csv. (#1260)
* Use configured pager if table format is csv.

* Changelog.

* Simplify.
2021-03-12 14:14:09 -08:00
ERYoung11 31ea31d529
Updated Vagrant file as it wasn't working. (#1255)
* Updated Vagrant file as it wasn't working.

* adding a space to kick the build process.

* removed packaging which wasn't really needed.

Co-authored-by: ERYoung11 <YoungEricR@JohnDeere.com>
2021-03-12 10:20:28 -08:00
Georgy Frolov a017fa96bf
fix IPython magic (#1253) 2021-03-12 10:16:14 -08:00
Georgy Frolov e009995e9f
Merge pull request #1258 from ERYoung11/fix_test_main_windows_error
skipping initial comments in pgconfig file did not work on Windows.
2021-03-11 08:24:13 +03:00
Georgy Frolov 8aa3f92666
fix import (#1252) 2021-03-10 16:59:48 -08:00
ERYoung11 b1bdfa6a43 Updating authors 2021-03-10 13:26:29 -06:00
ERYoung11 bca1d94f39 skipping initial comments in pgconfig file did not work on Windows. 2021-03-10 13:15:58 -06:00
Irina Truong 469d22f2b6 Changelog. 2021-02-26 13:18:31 -08:00
Georgy Frolov 9a46ec87d5
Merge pull request #1251 from dbcli/j-bennet/1240-fix-config-writing
Preserve comments when writing to config file.
2021-02-27 00:07:27 +03:00
Irina Truong 291878bb31 Black. 2021-02-26 12:44:04 -08:00
Irina Truong d67272214c Preserve comments when writing to config file. 2021-02-26 12:41:04 -08:00
Georgy Frolov c9fd72449e
skip initial comment in pg_session file (#1245)
* skip initial comment in pg_session file

* add test
2021-02-22 14:55:55 -08:00