Re: creating a function with another function

From: David Fetter <david(at)fetter(dot)org>
To: Dave Huber <DHuber(at)letourneautechnologies(dot)com>
Cc: "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org>
Subject: Re: creating a function with another function
Date: 2009-10-12 19:41:57
Message-ID: 20091012194157.GH14810@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Oct 12, 2009 at 02:12:35PM -0500, Dave Huber wrote:
> Is it possible to execute a CREATE OR REPLACE FUNCTION with another
> function or even have a function modify itself?

Yes, but doing any of that is a sign that you're working with a broken
design. That, or you're looking to make an entry in the International
Obfuscated Database Programming Contest ;)

Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2009-10-12 19:54:31 Re: creating a function with another function
Previous Message Dave Huber 2009-10-12 19:12:35 creating a function with another function