Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas2011-11-17 19:20:13 +0000
committerRobert Haas2011-11-17 19:25:18 +0000
commit67dc4eed42186ba6a2456578899bfd38d003201a (patch)
treec01313d1fb6f55e7cac3a32efe28dcc42d4e8370 /src/backend/commands/define.c
parentee3ef8f30c4241e95f761c41501979dfd4f22c6a (diff)
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.
Diffstat (limited to 'src/backend/commands/define.c')
-rw-r--r--src/backend/commands/define.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/backend/commands/define.c b/src/backend/commands/define.c
index eda3b7a9cee..9dcc581c985 100644
--- a/src/backend/commands/define.c
+++ b/src/backend/commands/define.c
@@ -42,19 +42,6 @@
#include "parser/scansup.h"
#include "utils/int8.h"
-
-/*
- * Translate the input language name to lower case, and truncate if needed.
- *
- * Returns a palloc'd string
- */
-char *
-case_translate_language_name(const char *input)
-{
- return downcase_truncate_identifier(input, strlen(input), false);
-}
-
-
/*
* Extract a string value (otherwise uninterpreted) from a DefElem.
*/