From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
---|---|
To: | Tim Uckun <timuckun(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Is there a way to dump schema to files on disk and keep them in sync |
Date: | 2020-12-13 17:34:13 |
Message-ID: | 94d0857d-fbeb-81d6-e285-f088e5efb472@aklaver.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 12/12/20 6:58 PM, Tim Uckun wrote:
> I want to dump my postgres schema to disk in neat directories like
> pgadmin presents. Then I want to be able to edit the files and sync
> changes to the database and ideally if changes were made in the
> database to sync them back to the disk.
>
> Is there a tool that does this? Is there a tool that will dump the
> schema into separate directories and files like pgadmin does?
pgAdmin does not create directories, it just organizes the contents of
the system catalogs into GUI elements.
For schema management I would suggest a tool like the one I use
Sqitch(https://sqitch.org/). It will organize the process of schema
creation and management.
>
> Thanks.
>
>
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Tomas Vondra | 2020-12-13 17:53:02 | Re: Is there a way to dump schema to files on disk and keep them in sync |
Previous Message | Ron | 2020-12-13 08:04:04 | Re: Is there a way to dump schema to files on disk and keep them in sync |