I provided the scripts , use , how ever you like From: David G. Johnston <david.g.johnston@xxxxxxxxx> On Tue, Jun 18, 2024 at 12:58 PM <lennam@xxxxxxxxxxxxxxxxxxxxx> wrote:
Maybe using quote_ident to prevent, unlikely as it may be, SQL injection issues. The trims seem likely to be unnecessary - catalog contents should be clean.
The script output file is nice to check one's works I guess. But if you are going to use psql there is the \gexec meta-command that makes this even easier. David J. |