Re: PG 14 Create Rule ERROR - RETURNING list has too few entries

From: Lucas <root(at)sud0(dot)nz>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: PG 14 Create Rule ERROR - RETURNING list has too few entries
Date: 2022-02-28 03:31:31
Message-ID: 99834C7B-2C78-4D08-85C0-3FA2F1336B94@sud0.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


> On 28/02/2022, at 4:06 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> The RETURNING list has to match the column list of the rule's
> target table or view (here, doctrine.ja_notes). Maybe you added
> some columns to that since this last worked?

You are correct. The view has an extra column.

Thanks!

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Wim Bertels 2022-02-28 11:34:24 Re: \set \e and newline
Previous Message Tom Lane 2022-02-28 03:06:40 Re: PG 14 Create Rule ERROR - RETURNING list has too few entries