]> granicus.if.org Git - postgresql/commitdiff
ALTER LANGUAGE RENAME has never worked. Per Sergey Yatskevich.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 14 Feb 2005 06:18:09 +0000 (06:18 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 14 Feb 2005 06:18:09 +0000 (06:18 +0000)
src/backend/commands/proclang.c

index 97d7c38a2e91b1143e713c137708afa8a3c86ba3..571534f29f12d88bd34820a45af63bd05d918314 100644 (file)
@@ -7,7 +7,7 @@
  * Portions Copyright (c) 1994, Regents of the University of California
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/commands/proclang.c,v 1.51.2.1 2004/02/21 00:35:13 tgl Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/commands/proclang.c,v 1.51.2.2 2005/02/14 06:18:09 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),