#!/bin/sh
export PGPASSWORD=PYnuOIXNbkVOvdTL
P="psql -h 127.0.0.1 -U bgar1_delta_com -d bgar1_delta_com_ingredi"
echo "== tables"
$P -tA -c "select table_name from information_schema.tables where table_schema='public' order by 1"
echo "== likely config tables"
$P -tA -c "select table_name from information_schema.tables where table_schema='public' and (table_name ~ 'config|setting|ldap|saml|auth|sso|directory') order by 1"
