Re: Verifying a timestamp is null or in the past

From: Ondrej Ivanič <ondrej(dot)ivanic(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Verifying a timestamp is null or in the past
Date: 2012-01-02 22:30:17
Message-ID: CAM6mieKMBhtyLVdu0J0LsKDUy8xzTX-03zOvamAUCz6aozXmzw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi

2012/1/3 David Johnston <polobo(at)yahoo(dot)com>:
> On Jan 2, 2012, at 16:46, Ondrej Ivanič <ondrej(dot)ivanic(at)gmail(dot)com> wrote:
> Yes, PERFORM does populate FOUND.
>
> From the documentation you just linked to....
>
> A PERFORM statement sets FOUND true if it produces (and discards) one or
> more rows, false if no row is produced.
>

Bummer! Thanks for the correction! I shouldn't (blindly) rely on my
own comments in the code :) Pgpsql code uses "execute" which is the
reason for 'get diagnostics'...

--
Ondrej Ivanic
(ondrej(dot)ivanic(at)gmail(dot)com)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Hagen Finley 2012-01-02 23:41:40 Re: Adding German Character Set to PostgresSQL
Previous Message Hannes Erven 2012-01-02 22:06:29 Re: Adding German Character Set to PostgresSQL