1 /* -----------------------------------------------------------------------
4 * The PostgreSQL locale utils.
7 * $Id: pg_locale.h,v 1.11 2001/11/05 17:46:36 momjian Exp $
9 * Portions Copyright (c) 1999-2000, PostgreSQL Global Development Group
13 * -----------------------------------------------------------------------
22 * POSIX locale categories and environment variable LANG
25 typedef struct PG_LocaleCategories
34 } PG_LocaleCategories;
37 * Save locale category settings into PG memory
39 extern void PGLC_current(PG_LocaleCategories *lc);
42 * Free memory allocated in PGLC_current()
44 extern void PGLC_free_categories(PG_LocaleCategories *lc);
47 * Return the POSIX lconv struct (contains number/money formatting information)
48 * with locale information for all categories. Note that returned lconv
49 * does not depend on currently active category settings, but on external
50 * environment variables for locale.
53 extern struct lconv *PGLC_localeconv(void);
54 #endif /* USE_LOCALE */
56 #endif /* _PG_LOCALE_ */