X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id E5BC69DCB8E for ; Sun, 19 Feb 2006 14:58:45 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 45033-01 for ; Sun, 19 Feb 2006 14:58:45 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from megazone.bigpanda.com (megazone.bigpanda.com [64.147.171.210]) by postgresql.org (Postfix) with ESMTP id 03AC19DCB4B for ; Sun, 19 Feb 2006 14:58:43 -0400 (AST) Received: by megazone.bigpanda.com (Postfix, from userid 1001) id B9722368F9; Sun, 19 Feb 2006 10:57:30 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by megazone.bigpanda.com (Postfix) with ESMTP id B7593368E5; Sun, 19 Feb 2006 10:57:30 -0800 (PST) Date: Sun, 19 Feb 2006 10:57:30 -0800 (PST) From: Stephan Szabo To: Henry Ortega Cc: Owen Jacobson , pgsql-sql@postgresql.org Subject: Re: Given 02-01-2006 to 02-28-2006, output all days. In-Reply-To: <2bffcc330602191047w6338e67aw77145989046f93d6@mail.gmail.com> Message-ID: <20060219105545.B47140@megazone.bigpanda.com> References: <144D12D7DD4EC04F99241498BB4EEDCC220D78@nelson.osl.com> <2bffcc330602191047w6338e67aw77145989046f93d6@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.634 required=5 tests=[AWL=-0.363, URI_NOVOWEL=0.997] X-Spam-Score: 0.634 X-Spam-Level: X-Archive-Number: 200602/243 X-Sequence-Number: 24253 On Sun, 19 Feb 2006, Henry Ortega wrote: > I was able to find a suitable 7.3.2 plpgsql.so and now plpgsql works. > (supposedly) > > I am trying out some really basic function creation such as this: > > create function dng2(start_date DATE) returns setof date as $$ > declare > aa date:=start_date; I don't think the beginning is a valid function definition in 7.3.x as I'm pretty sure it didn't have the grammar support for named parameters. Also, I think dollar quoting came in 8.0, so that's not going to work either. You may be looking at a different version of the docs than the version you're using.