Henrik Kuhn <henrik.kuhn@xxxxxxxxxxx> 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 -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general