Re: Function tracking - Mailing list pgsql-general

From Dmitriy Igrishin
Subject Re: Function tracking
Date
Msg-id CAAfz9KMXoE4RJvkwGrjA=kwwcuaBUy7rMwePWcFW8fLWu1v3Ow@mail.gmail.com
Whole thread Raw
In response to Re: Function tracking  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-general



2013/6/7 Pavel Stehule <pavel.stehule@gmail.com>
Hello

2013/6/7 Rebecca Clarke <r.clarke83@gmail.com>:
> Hi all
>
> I'm looking for suggestions on the best way to track the updates to a
> function.
>
> We have two databases, Dev & Live, so I want to update Live with just the
> functions that have been modified in the DEV databas3e.
> Is there another, easier way to track the updates than manually recording it
> in a document? (I'm trying to eliminate human interference).
>

There is a few tools

http://stackoverflow.com/questions/4804779/how-to-check-difference-between-two-databases-in-postgressql
http://pgdiff.sourceforge.net/

But I prefer editing files for storing schema and function
definitions. And I use a git. I dislike direct object modifying via
tools like pgAdmin and similar.
Same here.

--
// Dmitriy.

pgsql-general by date:

Previous
From: Beena Emerson
Date:
Subject: excute function before DROP EXTENSION
Next
From: Marc Dahn
Date:
Subject: Full text search, SQL functions, and the planner