Re: if not exists (SELECT 1... UNION SELECT 1...) - Mailing list pgsql-general

From Laurenz Albe
Subject Re: if not exists (SELECT 1... UNION SELECT 1...)
Date
Msg-id 45c68bd56c1b0cdcd4b7e67739a45243196bd2af.camel@cybertec.at
Whole thread Raw
In response to Re: if not exists (SELECT 1... UNION SELECT 1...)  (Alexander Farber <alexander.farber@gmail.com>)
List pgsql-general
On Wed, 2022-02-16 at 14:36 +0100, Alexander Farber wrote:
> Ah, I have to do
> 
>     RETURN '___WRONG___';
> 
> and not
> 
>         out_text := '___WRONG___'
>         RETURN;

Yes.  As I said, a trivial error.

Yours,
Laurenz Albe




pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: How to disable read-only mode on a table? (superUser)
Next
From: Carsten Klein
Date:
Subject: Re: Strange results when casting string to double