create language ... if not exists - Mailing list pgsql-patches

From Andreas 'ads' Scherbaum
Subject create language ... if not exists
Date
Msg-id 20080329024057.38664714@iridium.wars-nicht.de
Whole thread Raw
Responses Re: create language ... if not exists  (Heikki Linnakangas <heikki@enterprisedb.com>)
List pgsql-patches
Hello all,

yesterday i ran into a small problem:
http://andreas.scherbaum.la/blog/archives/346-create-language-if-not-exist.html
and was bugged to create a patch for PostgreSQL. So here is a first
version, still missing some things like documentation.

The attached patch for HEAD extends the CREATE LANGUAGE statement by an
IF NOT EXISTS option which in effect changes the raised error into a
notice.

Before i continue working on this patch i would like to know if this
extension has a chance to go into PG and what other changes i should
apply (beside the missing documentation).


Thank you

--
                Andreas 'ads' Scherbaum
German PostgreSQL User Group

Attachment

pgsql-patches by date:

Previous
From: "Brendan Jurd"
Date:
Subject: Re: [HACKERS] Text <-> C string
Next
From: Dean Rasheed
Date:
Subject: Re: Auto-explain patch