Richard Broersma Jr <rabroersma@yahoo.com> writes:
> --- Jon Collette <jon@etelos.com> wrote:
>> Thanks that was it exactly. I did notice another strange thing. When
>> using IS NULL in an plpgsql IF statement you have to use ISNULL. Same
>> with NOT NULL. Does this mean that ISNULL is more proper than IS NULL?
IS NULL is in the SQL standard, the other is not; and I dunno what you did
wrong but you certainly don't "have to" use ISNULL in plpgsql.
regards, tom lane