Re: plpgsql variable assignment with union is broken - Mailing list pgsql-hackers

From easteregg@verfriemelt.org
Subject Re: plpgsql variable assignment with union is broken
Date
Msg-id 20210107081906.6b331059@mail.verfriemelt.org
Whole thread Raw
In response to Re: plpgsql variable assignment with union is broken  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
to be clear, that was existing code within our codebase, it was used as a very bad alternative to an if/else clause.
thinkof it as an tenery operator. thats just straight up bad code as tom said. but even if it is, its a change and i
wantedto check, if its intended. so thank you for you time and consideration! 



pgsql-hackers by date:

Previous
From: Dmitry Dolgov
Date:
Subject: Re: [HACKERS] [PATCH] Generic type subscripting
Next
From: Bharath Rupireddy
Date:
Subject: Re: [PATCH] postgres_fdw connection caching - cause remote sessions linger till the local session exit