pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Alexander Farber <alexander.farber@gmail.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: if not exists (SELECT 1... UNION SELECT 1...)
Date: Wed, 16 Feb 2022 18:06:38 +0100
Message-ID: <45c68bd56c1b0cdcd4b7e67739a45243196bd2af.camel@cybertec.at> (raw)
In-Reply-To: <CAADeyWjqtVyBDHK2AxE3f_u85OjPi6Nzs2h_-GnOKhKMBJZQow@mail.gmail.com>
References: <CAADeyWgesg5apJqYYHKqpETSPdyZ5unQ9mnL-CgA9srqSf+CEg@mail.gmail.com>
	<09dbff99faf9a57526ea042aa24ef46d7db263ff.camel@cybertec.at>
	<CAADeyWg-LBp0KinvW6VzD46qDGNwff5VTqMLQCvy=gYhssww7w@mail.gmail.com>
	<CAADeyWjqtVyBDHK2AxE3f_u85OjPi6Nzs2h_-GnOKhKMBJZQow@mail.gmail.com>

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






view thread (8+ messages)

Message-ID: <45c68bd56c1b0cdcd4b7e67739a45243196bd2af.camel@cybertec.at>
Permalink:  ../45c68bd56c1b0cdcd4b7e67739a45243196bd2af.camel@cybertec.at/
Also on:    postgresql.org/message-id/45c68bd56c1b0cdcd4b7e67739a45243196bd2af.camel@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: laurenz.albe@cybertec.at, alexander.farber@gmail.com
  Subject: Re: if not exists (SELECT 1... UNION SELECT 1...)
  In-Reply-To: <45c68bd56c1b0cdcd4b7e67739a45243196bd2af.camel@cybertec.at>
  References: <CAADeyWgesg5apJqYYHKqpETSPdyZ5unQ9mnL-CgA9srqSf+CEg@mail.gmail.com> <09dbff99faf9a57526ea042aa24ef46d7db263ff.camel@cybertec.at> <CAADeyWg-LBp0KinvW6VzD46qDGNwff5VTqMLQCvy=gYhssww7w@mail.gmail.com> <CAADeyWjqtVyBDHK2AxE3f_u85OjPi6Nzs2h_-GnOKhKMBJZQow@mail.gmail.com> <45c68bd56c1b0cdcd4b7e67739a45243196bd2af.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox