BUG #17662: Error on UPDATE with () - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #17662: Error on UPDATE with ()
Date
Msg-id 17662-a7d95eb9537054b5@postgresql.org
Whole thread Raw
Responses Re: BUG #17662: Error on UPDATE with ()
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      17662
Logged by:          Julio Figueiredo
Email address:      julionti@gmail.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


pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #17660: JSONPATH issue using like_regex followed by the && operator
Next
From: Tom Lane
Date:
Subject: Re: BUG #17662: Error on UPDATE with ()