pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ezequiel Tolnay <mail@etolnay.com.ar>
To: pgsql-admin@postgresql.org
Subject: SQL code versioning (views, functions, etc)
Date: Wed, 20 Apr 2005 13:22:36 +1000
Message-ID: <d44hss$2vci$1@news.hub.org> (raw)

Hi all you pg gurus and admins,

   I'm trying to implement versioning of the code of objects that can be 
"created or replaced" (functions, views, etc).

   I tried to implement a trigger on pg_proc, but that is not possible. 
Adding a rule to the pg_proc table was successful but it never executes.

   Is there a way or a tool to implement versioning of the code of this 
objects? Help or hints will be gladly appreciated.

Cheers,

Ezequiel Tolnay
etolnay@gbtech.com.au



view thread (3+ messages)  latest in thread

Message-ID: <d44hss$2vci$1@news.hub.org>
Permalink:  ../d44hss$2vci$1@news.hub.org/
Also on:    postgresql.org/message-id/d44hss$2vci$1@news.hub.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mail@etolnay.com.ar
  Subject: Re: SQL code versioning (views, functions, etc)
  In-Reply-To: <d44hss$2vci$1@news.hub.org>
  References: <d44hss$2vci$1@news.hub.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox