| От | Tom Lane |
|---|---|
| Тема | Re: Trigger Blunder |
| Дата | |
| Msg-id | 3185.983544705@sss.pgh.pa.us обсуждение |
| Ответ на | Trigger Blunder (ryan@paymentalliane.net) |
| Ответы |
Re: Trigger Blunder
|
| Список | pgsql-general |
ryan@paymentalliane.net writes:
> I had smoe truggers I wanted to get rid of - instead of doing a DROP
> TRIGGER sql command, I deleted the trigger records from the pg_trigger
> table.... it was late.... i don't know what I was thinking!
> Anyhow - now when I try to delete anything from these tables, or
> delete the tables themself I get the message:
> RelationBuildTriggers: 1 record(s) not found for rel tablename
Reset the "reltriggers" count (field in pg_class) to zero for each
affected table.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера