Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdb58ee5

Browse files
committed
ALTER LANGUAGE RENAME has never worked. Per Sergey Yatskevich.
1 parent73f5c9d commitdb58ee5

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
HeapTupletup;
247247
Relationrel;
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)

[8]ページ先頭

©2009-2025 Movatter.jp