Re: [HACKERS] CREATE OR REPLACE VIEW/TRIGGER - Mailing list pgadmin-hackers

From Bruce Momjian
Subject Re: [HACKERS] CREATE OR REPLACE VIEW/TRIGGER
Date
Msg-id 200110232322.f9NNM4O28668@candle.pha.pa.us
Whole thread Raw
In response to CREATE OR REPLACE VIEW/TRIGGER  (Jean-Michel POURE <jm.poure@freesurf.fr>)
List pgadmin-hackers
> Dear all,
>
> Would it be possible to implement CREATE OR REPLACE VIEW / TRIGGER in
> PostgreSQL 7.2?
>
> Alternatively, could someone implement CREATE OR DROP VIEW / TRIGGER? These
> features are needed for pgAdmin II (we could also provide a patch for
> PhpPgAdmin). If this cannot be implemented in PostgreSQL, we will go for
> pseudo-modification solutions (which is definitely not a good solution).

Our current CREATE OR REPLACE FUNCTION perserves the OID of the
function.  Is there similar functionality you need where a simple
DROP (ignore the error), CREATE will not work?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgadmin-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] CREATE OR REPLACE VIEW/TRIGGER
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] CREATE OR REPLACE VIEW/TRIGGER