summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2011-02-10 20:39:41 +0000
committerBruce Momjian2011-02-10 20:39:41 +0000
commit2432d10bf243ad0ca9b5ccc2816e4e38e1d80b5e (patch)
tree58356d9e288bfd88f951af9dac67a0ca1bd71d15
parentb186523fd97ce02ffbb7e21d5385a047deeef4f6 (diff)
Fix pg_get_encoding_from_locale() function call parameters to match
prototype for cases where there is no multi-language support.
-rw-r--r--src/port/chklocale.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/port/chklocale.c b/src/port/chklocale.c
index fcd3c6bb5b..62932c2005 100644
--- a/src/port/chklocale.c
+++ b/src/port/chklocale.c
@@ -343,14 +343,14 @@ pg_get_encoding_from_locale(const char *ctype, bool write_message)
#else /* (HAVE_LANGINFO_H && CODESET) || WIN32 */
/*
- * stub if no platform support
+ * stub if no multi-language platform support
*
* Note: we could return -1 here, but that would have the effect of
* forcing users to specify an encoding to initdb on such platforms.
* It seems better to silently default to SQL_ASCII.
*/
int
-pg_get_encoding_from_locale(const char *ctype)
+pg_get_encoding_from_locale(const char *ctype, bool write_message)
{
return PG_SQL_ASCII;
}