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

Re: Function variable assignment question

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Function variable assignment question
Date: 2009-03-02 10:13:03
Message-ID: 20090302101303.GA4768@a-kretschmer.de (view raw or flat)
Thread:
Lists: pgsql-novice
In response to Nico Callewaert :
> 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.

No difference, it is the same.


Andreas
-- 
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

In response to

pgsql-novice by date

Next:From: Lee, MijaDate: 2009-03-03 01:02:13
Subject: sig 6 on postgres server
Previous:From: Nico CallewaertDate: 2009-03-02 09:58:48
Subject: Function variable assignment question

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