pgsql: Remove ancient downcasing code from procedural language operatio

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove ancient downcasing code from procedural language operatio
Date: 2011-11-17 19:25:24
Message-ID: E1RR7aO-0002Tp-5U@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove ancient downcasing code from procedural language operations.

A very long time ago, language names were specified as literals rather
than identifiers, so this code was added to do case-folding. But that
style has ben deprecated for many years so this isn't needed any more.
Language names will still be downcased when specified as unquoted
identifiers, but quoted identifiers or the old style using string
literals will be left as-is.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/67dc4eed42186ba6a2456578899bfd38d003201a

Modified Files
--------------
doc/src/sgml/ref/create_language.sgml | 5 +--
src/backend/commands/define.c | 13 ------------
src/backend/commands/functioncmds.c | 22 ++++++--------------
src/backend/commands/proclang.c | 35 +++++++-------------------------
src/include/commands/defrem.h | 2 -
5 files changed, 17 insertions(+), 60 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2011-11-17 21:30:07 pgsql: Don't quote language name
Previous Message Bruce Momjian 2011-11-17 18:41:17 pgsql: Fix pg_upgrade's pg_scandir_internal() the right way. Backpatch