X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id BC47CD1B444 for ; Thu, 27 Nov 2003 15:59:37 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 97950-03 for ; Thu, 27 Nov 2003 11:59:06 -0400 (AST) Received: from joeconway.com (66-146-172-86.skyriver.net [66.146.172.86]) by svr1.postgresql.org (Postfix) with ESMTP id 3564ED1B462 for ; Thu, 27 Nov 2003 11:59:00 -0400 (AST) Received: from [192.168.5.3] (account jconway HELO joeconway.com) by joeconway.com (CommuniGate Pro SMTP 4.1.8) with ESMTP-TLS id 674919; Thu, 27 Nov 2003 07:56:54 -0800 Message-ID: <3FC61ED4.6050205@joeconway.com> Date: Thu, 27 Nov 2003 07:57:08 -0800 From: Joe Conway User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andreas Tille Cc: PostgreSQL SQL Subject: Re: Scaler forms as function arguments References: <200311261725.21975.dev@archonet.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/305 X-Sequence-Number: 16120 Andreas Tille wrote: > test=# select PLpgSQLDepartmentSalaries() ; This should be: regression=# select * from PLpgSQLDepartmentSalaries(); departmentid | totalsalary --------------+------------- 1 | 80000 2 | 60000 (2 rows) HTH, Joe