Post Gres triggers for trail

Поиск
Список
Период
Сортировка
От Mandar M Bhosale
Тема Post Gres triggers for trail
Дата
Msg-id JAEOKPNNJAEFOLDGJAFFGEODCEAA.mbhosale@cybage.com
обсуждение исходный текст
Список pgsql-admin
I have difficulty in setting a trigger to have trail of my project
 
I need to update the modified_date of my database tables through trigger as
 
CREATE OR REPLACE TRIGGER taril_trigger AFTER UPDATE ON test_trigger FOR EACH ROW
EXECUTE PROCEDURE pro_trail();
 
pro_trail(){
BEGIN
NEW.modified_date=(select current_timestamp)
return NULL;
END;
}

Can anybody help me out!!!

Mandar  M. Bhosale

В списке pgsql-admin по дате отправления:

Предыдущее
От: Oliver Duke-Williams
Дата:
Сообщение: Unable to drop index
Следующее
От: Mauri Sahlberg
Дата:
Сообщение: Backing up users?