]> granicus.if.org Git - postgresql/commitdiff
Fix pg_server_to_client, that was broken in the previous commit.
authorItagaki Takahiro <itagaki.takahiro@gmail.com>
Mon, 21 Feb 2011 07:26:58 +0000 (16:26 +0900)
committerItagaki Takahiro <itagaki.takahiro@gmail.com>
Mon, 21 Feb 2011 07:27:57 +0000 (16:27 +0900)
src/backend/utils/mb/mbutils.c

index b8a2728e4f5d269ef5fa7c622a6af18564b3e3a2..a60188df1099a944f6b0b6fec157052ce31f4381 100644 (file)
@@ -569,7 +569,7 @@ pg_server_to_client(const char *s, int len)
 {
        Assert(ClientEncoding);
 
-       return pg_any_to_server(s, len, ClientEncoding->encoding);
+       return pg_server_to_any(s, len, ClientEncoding->encoding);
 }
 
 /*