Re: Changes in pl/pgsql?

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Michael Schmidt <michaelmschmidt(at)msn(dot)com>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Changes in pl/pgsql?
Date: 2006-05-22 17:49:29
Message-ID: 20060522174929.GA10984@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, May 22, 2006 at 11:20:04AM -0600, Michael Schmidt wrote:
> I've been going through functions for my database, originally
> developed with version 8.0, and had some odd behavior. I'm in the habit
> of putting parentheses around the conditional clauses in IF statements.
> One of my trigger functions didn't work, but when the parentheses were
> deleted, it did. Has something been changed in pl/pgsql for version
> 8.1.3? Here is the statement.
>
> IF (NEW.is_individual) THEN ...
>
> where is_individual is a boolean field

Could you provide a standalone test case and explain what "didn't
work" means? What were you expecting to happen and what actually
did happen? How does 8.1.3's behavior differ from an earlier
version? Exactly which earlier version behaves as expected?

--
Michael Fuhr

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rich Shepard 2006-05-22 17:52:14 CRM/Sales Management Software For PostgreSQL
Previous Message Alejandro Michelin Salomon ( Adinet ) 2006-05-22 17:32:18 RES: Let's make CPgAN!