Re: default_language - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: default_language
Date
Msg-id 1264375080.13571.5.camel@ebony
Whole thread Raw
In response to Re: default_language  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: default_language
List pgsql-hackers
On Sun, 2010-01-24 at 17:04 -0500, Tom Lane wrote:

> > If we have a default (for DO and CREATE FUNCTION), why not hard-wire the
> > default to plpgsql?
> 
> I don't see any strong argument for having a default for CREATE
> FUNCTION.  The original argument for having a GUC for DO was that
> plpgsql wasn't built in; now that it is, I think a case could
> be made for dropping default_do_language in favor of a hardwired
> default.

I would prefer having the option, but removing it completely does at
least solve the bizarre inconsistency I've highlighted. 

-- Simon Riggs           www.2ndQuadrant.com



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Streaming Replication on win32
Next
From: KaiGai Kohei
Date:
Subject: Re: [BUG?] strange behavior in ALTER TABLE ... RENAME TO on inherited columns