create language ... if not exists

From: Andreas 'ads' Scherbaum <adsmail(at)wars-nicht(dot)de>
To: pgsql-patches(at)postgresql(dot)org
Subject: create language ... if not exists
Date: 2008-03-29 01:40:57
Message-ID: 20080329024057.38664714@iridium.wars-nicht.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
pgsql-create-language-if-not-exists.patch text/x-patch 5.9 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Dean Rasheed 2008-03-29 08:47:51 Re: Auto-explain patch
Previous Message Bruce Momjian 2008-03-28 20:26:42 Re: [PATCHES] Implemented current_query