Re: In plpgsql: difference between := and = - Mailing list pgsql-novice

From Tom Lane
Subject Re: In plpgsql: difference between := and =
Date
Msg-id 9399.1144902284@sss.pgh.pa.us
Whole thread Raw
In response to Re: In plpgsql: difference between := and =  (David <dbree@duo-county.com>)
List pgsql-novice
David <dbree@duo-county.com> writes:
> On Wed, Apr 12, 2006 at 08:43:20PM -0400, Tom Lane wrote:
>> There is no difference between := and = in plpgsql: the scanner treats
>> them as the same token.

> I can almost picture seeing the statement that you _must_ use ":=" in a
> variable assignment, and that there was a difference, but apparently I
> dreamed it or it's a fact in some other application.

I think that only the := variant is shown in the documentation, but they
work the same.

            regards, tom lane

pgsql-novice by date:

Previous
From: David
Date:
Subject: Re: In plpgsql: difference between := and =
Next
From: Bruce Momjian
Date:
Subject: Re: PostgreSQL a slow DB?