Re: Trigger trouble

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Trigger trouble
Дата
Msg-id 8118.1167840207@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Trigger trouble  ("Sandy Spence" <axs@aber.ac.uk>)
Список pgsql-admin
"Sandy Spence" <axs@aber.ac.uk> writes:
> when I run the select query I get the following output,

> ltt=> select * from pg_type where typname='trigger';
>  typname | typowner | typlen | typprtlen | typbyval | typtype | typisdefined
> | typdelim | typrelid | typelem | typinput | typoutput
>  | typreceive | typsend | typalign | typstorage | typdefault
> ---------+----------+--------+-----------+----------+---------+-------------
> -+----------+----------+---------+----------+----------
> -+------------+---------+----------+------------+------------
>  trigger |        0 |      0 |         0 | f        |         | f
> |          |        0 |       0 | -        | -
>  | -          | -       | i        | p          | trigger
> (1 row)

OK, given that column set for pg_type I guess it really is 7.2 ... you
need to think about an update real soon, because there are a whole lot
of known bugs in the version you are running.  At the very least you
should get on to the last release of the 7.2 series, which I think was
7.2.8.  But we stopped maintaining 7.2.x at all some years ago.  If you
were to move to 8.1 or 8.2 you'd find it a whole lot faster and more
stable.

Anyway, what you seem to have here is a "shell type".  It's not doing
anything useful --- you can probably just do a "DROP TYPE trigger".
Or you could just ignore the warning; it's pretty harmless.

            regards, tom lane

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

Предыдущее
От: "Sandy Spence"
Дата:
Сообщение: Re: Trigger trouble
Следующее
От: Sean Murphy
Дата:
Сообщение: Re: Frustrating LO problem