language name case sensitivity, also known as plpgsql <> 'PLpgSQL'

From: Gregg Jaskiewicz <gryzman(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: language name case sensitivity, also known as plpgsql <> 'PLpgSQL'
Date: 2012-03-26 15:30:19
Message-ID: CAJY59_gcbUA_qgR+4O0HNF4aLCV+mwfMV3JEQM2fcwOB6cbvVw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Folks,
I'm testing some code on 9.2dev (trunk), and I've noticed that
postgresql seems to be fussy about language case when creating a
function.
So for instance:
create function foo() returns int AS $$ BEGIN return 1; END; $$
LANGUAGE 'PLpgSQL';

Will be fine on 8.3 (my current version used in product), but not so
fine when using 9.2dev.

I think this is obviously a regression. What you say ?

--
GJ

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alban Hertroys 2012-03-26 15:31:54 Re: loading a function from a file
Previous Message Witt83 2012-03-26 15:20:40 Re: Quite a fast lockless vacuum full implemenation