Just 'sql'? - Mailing list pgsql-sql

From Itai Zukerman
Subject Just 'sql'?
Date
Msg-id E13IWgS-0001ps-00@matt.w80.math-hat.com
Whole thread Raw
List pgsql-sql
Hi, I have this:

CREATE FUNCTION queue_add() RETURNS OPAQUE AS 'BEGIN INSERT INTO queue ( count, price ) VALUES ( NEW.count, NEW.price
);RETURN NEW;
 
END;' LANGUAGE 'plpgsql' ;

I can't figure out how to do this with LANGUAGE 'sql'.  Any ideas?

Thanks,
-itai


pgsql-sql by date:

Previous
From: "André Næss"
Date:
Subject: Re: Conditional rule?
Next
From: Max Pyziur
Date:
Subject: Localization support