Null set

From: Wei Weng <wweng(at)kencast(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Null set
Date: 2001-07-02 21:57:34
Message-ID: 994111055.6586.4.camel@Monet
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

This is a function I am working on:

CREATE FUNCTION authenticate(int4) RETURN boolean
AS
'SELECT * INTO tmp FROM user WHERE user_id = id;
if SET_IS_NULL(tmp)
return false;
else
return true;'
LANGUAGE 'sql';

My question is: Is there a way to implement the SET_IS_NULL function in
pl/pgsql?

--
Wei Weng
Network Software Engineer
KenCast Inc.

Browse pgsql-sql by date

  From Date Subject
Next Message Petarian 2001-07-02 22:54:23 A free ODBC client to use with any database.
Previous Message --CELKO-- 2001-07-02 20:56:11 Re: need oracle ROWNUM equivalent