Sorry 'bout that, chief...
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/commands/variable.c,v 1.42 2000/10/25 19:44:44 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/commands/variable.c,v 1.43 2000/10/26 17:31:34 tgl Exp $
*
*-------------------------------------------------------------------------
*/
return TRUE;
}
+/* Called during MULTIBYTE backend startup ... */
+void
+set_default_client_encoding(void)
+{
+ reset_client_encoding();
+}
+
+
static bool
parse_server_encoding(char *value)
{
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.181 2000/10/24 21:33:48 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.182 2000/10/26 17:31:35 tgl Exp $
*
* NOTES
* this is the "main" module of the postgres backend and
#ifdef MULTIBYTE
/* set default client encoding */
if (DebugLvl > 1)
- elog(DEBUG, "reset_client_encoding");
- reset_client_encoding();
+ elog(DEBUG, "set_default_client_encoding");
+ set_default_client_encoding();
#endif
on_shmem_exit(remove_all_temp_relations, 0);
if (!IsUnderPostmaster)
{
puts("\nPOSTGRES backend interactive interface ");
- puts("$Revision: 1.181 $ $Date: 2000/10/24 21:33:48 $\n");
+ puts("$Revision: 1.182 $ $Date: 2000/10/26 17:31:35 $\n");
}
/*
* Headers for handling of 'SET var TO', 'SHOW var' and 'RESET var'
* statements
*
- * $Id: variable.h,v 1.12 2000/06/22 22:31:23 petere Exp $
+ * $Id: variable.h,v 1.13 2000/10/26 17:31:33 tgl Exp $
*
*/
#ifndef VARIABLE_H
extern void ResetPGVariable(const char *name);
extern void set_default_datestyle(void);
+extern void set_default_client_encoding(void);
#endif /* VARIABLE_H */