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