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

Re: create function question

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: "Zhou, Lixin" <LZhou(at)illumina(dot)com>
Cc: "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org>
Subject: Re: create function question
Date: 2001-10-30 20:32:22
Message-ID: 20011030123144.T15016-100000@megazone23.bigpanda.com (view raw or flat)
Thread:
Lists: pgsql-general
On Mon, 29 Oct 2001, Zhou, Lixin wrote:

> The following function always returns NULL when I call it like this:
>
> select get_bundle_id('1009699', '1', '1').
>
> If I replace b, r, c with '1009699', '1', '1' inside the function body, it
> returns the correct id!

Probably you shouldn't double quote the b r and c in the function since
that'd be the constants not the variables.


In response to

pgsql-general by date

Next:From: Zhou, LixinDate: 2001-10-30 20:34:43
Subject: Re: create function question
Previous:From: Tom LaneDate: 2001-10-30 20:06:52
Subject: Re: serial with int8 ??

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