marijnh / Postmodern

A Common Lisp PostgreSQL programming interface
http://marijnhaverbeke.nl/postmodern
Other
400 stars 90 forks source link

Bugfix on ssl :try and new utility functions #266

Closed sabracrolleton closed 3 years ago

sabracrolleton commented 3 years ago

Adds new utility functions

Example: (list-check-constraints "s2.employees") (("employees_birth_date_check" "CHECK (birth_date > '1900-01-01'::date)") ("employees_check" "CHECK (start_date > birth_date)") ("employees_salary_check" "CHECK (salary > 0::numeric)"))

Now exports get-column-comments (the parameter string has changed if you were using the internal version) get-all-table-comments

Bug Fixes:

Fixes a bug when trying to connect to a database using ssl. If the keyword :try was used, the connection would not fall back to non-ssl connections.