From: chester c young <chestercyoung@yahoo.com>
To: Matthew Nuzum <cobalt@bearfruit.org>
Cc: pgsql-sql@postgresql.org
Subject: Re: cannot create function that uses variable table name
Date: Thu, 16 Jan 2003 20:42:07 -0800 (PST)
Message-ID: <20030117044207.10247.qmail@web12702.mail.yahoo.com> (raw)
In-Reply-To: <001d01c2bdd9$191b07f0$6700a8c0@mattspc>
--- Matthew Nuzum <cobalt@bearfruit.org> wrote:
> I thought I would be crafty and devise a function that would always
> return the highest numbered item in the table. But it doesnt work.
> It always gives me a parse error at $1. Heres the function:
build the query as a string and execute it.
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
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: chestercyoung@yahoo.com, cobalt@bearfruit.org
Subject: Re: cannot create function that uses variable table name
In-Reply-To: <20030117044207.10247.qmail@web12702.mail.yahoo.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