pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone.bigpanda.com>
To: Henry Ortega <juandelacruz@gmail.com>
Cc: Owen Jacobson <ojacobson@osl.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Given 02-01-2006 to 02-28-2006, output all days.
Date: Sun, 19 Feb 2006 10:57:30 -0800 (PST)
Message-ID: <20060219105545.B47140@megazone.bigpanda.com> (raw)
In-Reply-To: <2bffcc330602191047w6338e67aw77145989046f93d6@mail.gmail.com>
References: <144D12D7DD4EC04F99241498BB4EEDCC220D78@nelson.osl.com>
	<2bffcc330602191047w6338e67aw77145989046f93d6@mail.gmail.com>

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.



view thread (9+ messages)  latest in thread

Message-ID: <20060219105545.B47140@megazone.bigpanda.com>
Permalink:  ../20060219105545.B47140@megazone.bigpanda.com/
Also on:    postgresql.org/message-id/20060219105545.B47140@megazone.bigpanda.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: sszabo@megazone.bigpanda.com, juandelacruz@gmail.com, ojacobson@osl.com
  Subject: Re: Given 02-01-2006 to 02-28-2006, output all days.
  In-Reply-To: <20060219105545.B47140@megazone.bigpanda.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox