How to update upper-bound of tstzrange ? - Mailing list pgsql-general

From Laura Smith
Subject How to update upper-bound of tstzrange ?
Date
Msg-id dwdB2YsSerbqrnxCL0GdRg7C61LmqBs4V-7-qC7t9sAq7_MY6Y76tQ4rhwHKbvJRr-6We87i_r0KHwDaf3yoxBbld1-62IPNoiZ3rtBGW8Q=@protonmail.ch
Whole thread Raw
Responses Re: How to update upper-bound of tstzrange ?
Re: How to update upper-bound of tstzrange ?
List pgsql-general
Could someone kindly help me out with the correct syntax ?

My first thought was the below but that doesn't work:

update foo set upper(bar_times)=upper(bar_times)+interval '1' hour where bar_id='abc';
ERROR:  syntax error at or near "("
LINE 1: update event_sessions set upper(bar_times)=upper(bar_ti...



pgsql-general by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: pg_dump and not MVCC-safe commands
Next
From: milist ujang
Date:
Subject: signal 11: Segmentation fault ; query constraint list; pg16.3