BUG #17662: Error on UPDATE with ()

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: julionti(at)gmail(dot)com
Subject: BUG #17662: Error on UPDATE with ()
Date: 2022-10-24 17:04:24
Message-ID: 17662-a7d95eb9537054b5@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 17662
Logged by: Julio Figueiredo
Email address: julionti(at)gmail(dot)com
PostgreSQL version: 14.4
Operating system: CENTOS8
Description:

The bellow command return : ERROR: source for a multiple-column UPDATE item
must be a sub-SELECT or ROW() expression
update table set
(column)=(value)
where 1=2

if I use
update table set
(column1,c2)=(v1,v2)
where 1=2

everithing is ok

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2022-10-25 14:13:32 Re: BUG #17662: Error on UPDATE with ()
Previous Message Tom Lane 2022-10-23 15:31:45 Re: BUG #17660: JSONPATH issue using like_regex followed by the && operator