Just 'sql'?

From: Itai Zukerman <zukerman(at)math-hat(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Just 'sql'?
Date: 2000-07-29 13:29:44
Message-ID: E13IWgS-0001ps-00@matt.w80.math-hat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-sql by date

  From Date Subject
Next Message Max Pyziur 2000-07-29 17:55:58 Localization support
Previous Message André Næss 2000-07-29 13:19:49 Re: Conditional rule?