mirror of
https://github.com/postgres/postgres.git
synced 2025-08-05 07:41:25 +03:00
ALTER LANGUAGE RENAME has never worked. Per Sergey Yatskevich.
This commit is contained in:
@@ -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
|
||||||
* $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;
|
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),
|
||||||
|
Reference in New Issue
Block a user