Received: from zukerman-1.dsl.speakeasy.net (zukerman-1.dsl.speakeasy.net [216.254.75.142]) by hub.org (8.10.1/8.10.1) with ESMTP id e6TDTlB17100 for ; Sat, 29 Jul 2000 09:29:47 -0400 (EDT) Received: from (matt.w80.math-hat.com) [216.254.75.141] by zukerman-1.dsl.speakeasy.net with esmtp (Exim 3.12 #1 (Debian)) id 13IWg4-00011t-00; Sat, 29 Jul 2000 09:29:20 -0400 Received: from zukerman by matt.w80.math-hat.com with local (Exim 3.12 #1 (Debian)) id 13IWgS-0001ps-00 for ; Sat, 29 Jul 2000 09:29:44 -0400 From: Itai Zukerman To: pgsql-sql@postgresql.org Subject: Just 'sql'? Message-Id: Date: Sat, 29 Jul 2000 09:29:44 -0400 X-Archive-Number: 200007/280 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