Re: Help with a very newbie question...

From: Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz>
To: Cristian Prieto <cristian(at)clickdiario(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Help with a very newbie question...
Date: 2005-02-23 16:07:22
Message-ID: Pine.LNX.4.44.0502231705440.16774-100000@kix.fsv.cvut.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>
> If I did the following:
> SELECT * FROM "Users";
> I get:
>
> userid | passwd
> ----------+--------
> cristian | hola
>
> AND I execute:
> SELECT getuser('cristian', 'hola');
>
> I get:
> getuser
> -----------------
> (cristian,hola)
>
There are two posibilities

SELECT getuser('cristian','hola');
SELECT * FROM getuser('cristian','hola') AS (userid varchar, passwd
varchar);

Regards
Pavel

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2005-02-23 16:34:19 Re: Help with a very newbie question...
Previous Message Ken Johanson 2005-02-23 15:49:47 Possible to run the server with ANSI/ISO string escapeing instead of C-style escapes?