Re: [GENERAL] clone_schema function - Mailing list pgsql-general

From Michael Librodo
Subject Re: [GENERAL] clone_schema function
Date
Msg-id a1a23952-0979-4189-3b5d-f2c69710af5a@gmail.com
Whole thread Raw
Responses Re: [GENERAL] clone_schema function  (Melvin Davidson <melvin6925@gmail.com>)
List pgsql-general
I had to modify the portion that copies FK constraint:

https://gist.github.com/mlibrodo/6f246c483e650dc716eba752a9d3c79a

Basically, the issue on my end was that the FK constraints on the
cloned(destination) schema seem to reference the source_schema



pgsql-general by date:

Previous
From: Dave Page
Date:
Subject: [GENERAL] PostgreSQL Code of Conduct Draft
Next
From: mpomykacz
Date:
Subject: Re: [GENERAL] Auto-Rollback option