|
7 | 7 | * Portions Copyright (c) 1994, Regents of the University of California
|
8 | 8 | *
|
9 | 9 | * 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 $ |
11 | 11 | *
|
12 | 12 | *-------------------------------------------------------------------------
|
13 | 13 | */
|
@@ -246,7 +246,7 @@ RenameLanguage(const char *oldname, const char *newname)
|
246 | 246 | HeapTupletup;
|
247 | 247 | Relationrel;
|
248 | 248 |
|
249 |
| -rel=heap_openr(ShadowRelationName,RowExclusiveLock); |
| 249 | +rel=heap_openr(LanguageRelationName,RowExclusiveLock); |
250 | 250 |
|
251 | 251 | tup=SearchSysCacheCopy(LANGNAME,
|
252 | 252 | CStringGetDatum(oldname),
|
|