NikolayS / postgres_dba

The missing set of useful tools for Postgres DBAs and all engineers
BSD 3-Clause "New" or "Revised" License
1.03k stars 113 forks source link

List of SQL reports with `\if` (pre-10 version) #30

Closed NikolayS closed 5 years ago

NikolayS commented 5 years ago

Now, if we psql if 9.6 or older, we cannot use menu. We also cannot simply copy/paste SQL snippets since they have \if blocks.

TODO: create a separate dir for pre-9.6 psql.

NikolayS commented 5 years ago

In https://github.com/NikolayS/postgres_dba/pull/31 \if blocks (for "extended" mode) have been removed. Now it's easy to copy/paste reports and use them in pre-10 postgres versions.