dbcli / pgspecial

Python implementation of postgres meta commands (backslash commands)
BSD 3-Clause "New" or "Revised" License
76 stars 53 forks source link

format headers in python and other small tweaks #148

Closed dkuku closed 10 months ago

dkuku commented 1 year ago

Description

@j-bennet I moved the tuple key but it does not change anything. This is unused. I can't find this in the code so no way to write a test for that. I tried to extend the tests but it breaks other tests so it's a bit complicated. In this pr I also added a docker file and a script to run the tests against multiple versions of postgres using a single command And I made a simple formatter for the headers - this way in the quotes in the queries are redundant.

Checklist

nothing really to add to the changelog.

dkuku commented 1 year ago

I also compared the output from current pgcli against psql on few production tables: I see we are not showing:

j-bennet commented 10 months ago

Thanks @dkuku , this looks nice.