Postgresql – Validate array of table names
I have requirement where bash script will pass on the string consisting tables names to anonymous PL/pgSQL block which will process the tables if they exists in the Postgres db. Below is the PL/pgSQL code assuming given_tables variable has the…