diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-02-14 06:17:44 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-02-14 06:17:44 +0000 |
commit | db58ee5be972362236d53f0187104e5df4d6a26b (patch) | |
tree | 21a98788a9c50583cbf4ad31b1745672cffbcba9 | |
parent | 73f5c9d90ecffaf711d48ada1ac02e6fd8bb9b34 (diff) | |
download | postgresql-db58ee5be972362236d53f0187104e5df4d6a26b.tar.gz postgresql-db58ee5be972362236d53f0187104e5df4d6a26b.zip |
ALTER LANGUAGE RENAME has never worked. Per Sergey Yatskevich.
-rw-r--r-- | src/backend/commands/proclang.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/proclang.c b/src/backend/commands/proclang.c index d1929d0b32e..c440fc38208 100644 --- a/src/backend/commands/proclang.c +++ b/src/backend/commands/proclang.c @@ -7,7 +7,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * 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) HeapTuple tup; Relation rel; - rel = heap_openr(ShadowRelationName, RowExclusiveLock); + rel = heap_openr(LanguageRelationName, RowExclusiveLock); tup = SearchSysCacheCopy(LANGNAME, CStringGetDatum(oldname), |