Skip to content

Commit db58ee5

Browse files
committed
ALTER LANGUAGE RENAME has never worked. Per Sergey Yatskevich.
1 parent 73f5c9d commit db58ee5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/commands/proclang.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
99
* IDENTIFICATION
10-
* $PostgreSQL: pgsql/src/backend/commands/proclang.c,v 1.56 2004/12/31 21:59:41 pgsql Exp $
10+
* $PostgreSQL: pgsql/src/backend/commands/proclang.c,v 1.57 2005/02/14 06:17:44 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -246,7 +246,7 @@ RenameLanguage(const char *oldname, const char *newname)
246246
HeapTuple tup;
247247
Relation rel;
248248

249-
rel = heap_openr(ShadowRelationName, RowExclusiveLock);
249+
rel = heap_openr(LanguageRelationName, RowExclusiveLock);
250250

251251
tup = SearchSysCacheCopy(LANGNAME,
252252
CStringGetDatum(oldname),

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy