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

Commit67bf0fc

Browse files
committed
elog command need to use unicode conversion too.
Vsevolod Lobko
1 parent25ec484 commit67bf0fc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎src/pl/tcl/pltcl.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
* ENHANCEMENTS, OR MODIFICATIONS.
3232
*
3333
* IDENTIFICATION
34-
* $Header: /cvsroot/pgsql/src/pl/tcl/pltcl.c,v 1.41 2001/10/04 15:47:41 momjian Exp $
34+
* $Header: /cvsroot/pgsql/src/pl/tcl/pltcl.c,v 1.42 2001/10/04 15:48:37 momjian Exp $
3535
*
3636
**********************************************************************/
3737

@@ -1372,7 +1372,9 @@ pltcl_elog(ClientData cdata, Tcl_Interp *interp,
13721372
* Call elog(), restore the original restart address
13731373
* and return to the caller (if not catched)
13741374
************************************************************/
1375-
elog(level,argv[2]);
1375+
UTF_BEGIN;
1376+
elog(level,UTF_U2E(argv[2]));
1377+
UTF_END;
13761378
memcpy(&Warn_restart,&save_restart,sizeof(Warn_restart));
13771379
returnTCL_OK;
13781380
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp