postgresql/src/include/utils/pg_locale.h

43 lines
1.2 KiB
C
Raw Normal View History

/*-----------------------------------------------------------------------
*
* PostgreSQL locale utilities
*
2005-01-01 06:43:09 +01:00
* $PostgreSQL: pgsql/src/include/utils/pg_locale.h,v 1.19 2005/01/01 05:43:09 momjian Exp $
*
2005-01-01 06:43:09 +01:00
* Copyright (c) 2002-2005, PostgreSQL Global Development Group
*
*-----------------------------------------------------------------------
*/
#ifndef _PG_LOCALE_
#define _PG_LOCALE_
#include <locale.h>
#include "utils/guc.h"
extern char *locale_messages;
extern char *locale_monetary;
extern char *locale_numeric;
extern char *locale_time;
extern const char *locale_messages_assign(const char *value,
bool doit, GucSource source);
extern const char *locale_monetary_assign(const char *value,
bool doit, GucSource source);
extern const char *locale_numeric_assign(const char *value,
bool doit, GucSource source);
extern const char *locale_time_assign(const char *value,
bool doit, GucSource source);
extern bool lc_collate_is_c(void);
/*
* Return the POSIX lconv struct (contains number/money formatting
* information) with locale information for all categories.
*/
2000-03-18 19:57:16 +01:00
extern struct lconv *PGLC_localeconv(void);
#endif /* _PG_LOCALE_ */