Search Postgresql Archives

Re: editing functions/triggers etc..

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

 



On 24 maj 2008, at 17.03, john wrote:
I was wondering if anyone has written a tool that will drop (cascade) then allow the edit and then restore the functions/triggers including the adding
the function/triggers to the inserts/deletes/etc.. to the tables.

Just use

CREATE OR REPLACE your_trigger_function() RETURNS TRIGGER AS ...

to replace the trigger function in place.



Sincerely,

Niklas Johansson





[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