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

Re: PL/PGSQL - character varying as function argument

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Chris Baechle" <bangular(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PL/PGSQL - character varying as function argument
Date: 2008-09-26 13:47:40
Message-ID: 15617.1222436860@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-general
"Chris Baechle" <bangular(at)gmail(dot)com> writes:
> When I try to run it with:
> select user_checkCredentials("asdf");

> I get the error:
> ERROR:  column "asdf" does not exist

You're confused about single quotes (literal strings) versus double
quotes (identifiers).

			regards, tom lane

In response to

pgsql-general by date

Next:From: Raymond O'DonnellDate: 2008-09-26 13:52:47
Subject: Re: PL/PGSQL - character varying as function argument
Previous:From: Raymond O'DonnellDate: 2008-09-26 13:41:29
Subject: Re: PL/PGSQL - character varying as function argument

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