Skip site navigation (1) Skip section navigation (2)

Function variable assignment question

From: "Nico Callewaert" <callewaert(dot)nico(at)telenet(dot)be>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: Function variable assignment question
Date: 2009-03-02 09:58:48
Message-ID: 71AD172FB3CB485AB382DDEE2D35C68A@etsinformatics.local (view raw or flat)
Thread:
Lists: pgsql-novice
Hi !

Is there a difference between these 2 statements (inside a function) :

    v_out_return = 0;
    v_out_return := 0;

Seems both is working fine, so I'm just puzzled if it makes any difference in use.

Thank you !
Nico

Responses

pgsql-novice by date

Next:From: A. KretschmerDate: 2009-03-02 10:13:03
Subject: Re: Function variable assignment question
Previous:From: A. KretschmerDate: 2009-03-02 06:14:25
Subject: Re: sorting and grouping with min/max

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group