Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-sql by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group