Null set - Mailing list pgsql-sql

From Wei Weng
Subject Null set
Date
Msg-id 994111055.6586.4.camel@Monet
Whole thread Raw
List 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.




pgsql-sql by date:

Previous
From: Dennis
Date:
Subject: Multiple Indexes
Next
From: Wei Weng
Date:
Subject: How do I print a message in a function?