Search Postgresql Archives

Re: How do I connect postgres table structures and view structures to an existing svn repository?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John Mitchell wrote:
I am trying to store schema definitions in version-control which I can do by
saving the definition and then  importing  into svn, but I  would like  it
to be automatic , so that when an update occurs to a table or view within
postgres then that table or view is flagged within svn.  This would be
similar to what I currently do with source code that I have for a web app
within  eclipse.

Ah! I'm not aware of any such system.

You could write a small cron-script that dumped the schema once every 5 minutes so it could be picked up by svn.

I think most people have a separate collection of schema-creation/update scripts that they keep under version control. All changes are then through running these.

--
  Richard Huxton
  Archonet Ltd

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

              http://www.postgresql.org/docs/faq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux