Skip to content
Snippets Groups Projects
Commit db58ee5b authored by Tom Lane's avatar Tom Lane
Browse files

ALTER LANGUAGE RENAME has never worked. Per Sergey Yatskevich.

parent 73f5c9d9
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/commands/proclang.c,v 1.56 2004/12/31 21:59:41 pgsql Exp $ * $PostgreSQL: pgsql/src/backend/commands/proclang.c,v 1.57 2005/02/14 06:17:44 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -246,7 +246,7 @@ RenameLanguage(const char *oldname, const char *newname) ...@@ -246,7 +246,7 @@ RenameLanguage(const char *oldname, const char *newname)
HeapTuple tup; HeapTuple tup;
Relation rel; Relation rel;
rel = heap_openr(ShadowRelationName, RowExclusiveLock); rel = heap_openr(LanguageRelationName, RowExclusiveLock);
tup = SearchSysCacheCopy(LANGNAME, tup = SearchSysCacheCopy(LANGNAME,
CStringGetDatum(oldname), CStringGetDatum(oldname),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment