Re: CREATE RULE fails with 'ERROR: SELECT rule's target list has too many entries'

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: CREATE RULE fails with 'ERROR: SELECT rule's target list has too many entries'
Дата
Msg-id 5272.1354720057@sss.pgh.pa.us
обсуждение исходный текст
Ответ на CREATE RULE fails with 'ERROR: SELECT rule's target list has too many entries'  (Henrik Kuhn <henrik.kuhn@origenis.de>)
Ответы Re: CREATE RULE fails with 'ERROR: SELECT rule's target list has too many entries'
Список pgsql-general
Henrik Kuhn <henrik.kuhn@origenis.de> writes:
> can somebody give me some insights why the creation of this rule fails
> with 'ERROR:  SELECT rule's target list has too many entries'?

Probably that history_relation has fewer than three columns?  But if
you want something more than guessing, you'd have to provide more
context, such as the definitions of the underlying tables.  Why are
you trying to execute this command anyway?

            regards, tom lane


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

Предыдущее
От: "Gauthier, Dave"
Дата:
Сообщение: Re: how do I grant select to one user for all tables in a DB?
Следующее
От: Henrik Kuhn
Дата:
Сообщение: Re: CREATE RULE fails with 'ERROR: SELECT rule's target list has too many entries'