Re: Having a problem with my stored procedure

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Having a problem with my stored procedure
Дата
Msg-id 3896.1171394638@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Having a problem with my stored procedure  (Laura McCord <mccordl@southwestern.edu>)
Ответы Re: Having a problem with my stored procedure  (Laura McCord <mccordl@southwestern.edu>)
Список pgsql-general
Laura McCord <mccordl@southwestern.edu> writes:
> I tried doing two different triggers as you suggested but I kept getting
> an error stating:

> psql:archive_news_articles.sql:75: ERROR:  trigger "archive_articles"
> for relation "news_content" already exists
> psql:archive_news_articles.sql:80: ERROR:  trigger "update_archives" for
> relation "news_content" already exists

> So, I thought perhaps it couldn't be done.

You need to pick different names for the triggers ... or if you're
trying to replace an existing trigger definition, you need to DROP it first.

            regards, tom lane

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: PostgreSQL and OpenLdap
Следующее
От: Laura McCord
Дата:
Сообщение: Re: Having a problem with my stored procedure