diff options
author | Tatsuo Ishii <ishii@postgresql.org> | 2000-01-18 05:10:29 +0000 |
---|---|---|
committer | Tatsuo Ishii <ishii@postgresql.org> | 2000-01-18 05:10:29 +0000 |
commit | 5eb1d0deb15f2b7cd0051bef12f3e091516c723b (patch) | |
tree | 4deb71581d5df3c7eac5bfbbc418c63a5316dda9 /src/include/miscadmin.h | |
parent | d58fa7611b37e6534040cbf40adf327bb169548c (diff) | |
download | postgresql-5eb1d0deb15f2b7cd0051bef12f3e091516c723b.tar.gz postgresql-5eb1d0deb15f2b7cd0051bef12f3e091516c723b.zip |
Add builtin functions:
pg_char_to_encoding()
pg_encoding_to_char()
Diffstat (limited to 'src/include/miscadmin.h')
-rw-r--r-- | src/include/miscadmin.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index ee88a8a5efc..324b4437d14 100644 --- a/src/include/miscadmin.h +++ b/src/include/miscadmin.h @@ -11,7 +11,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: miscadmin.h,v 1.47 2000/01/13 18:26:15 petere Exp $ + * $Id: miscadmin.h,v 1.48 2000/01/18 05:08:29 ishii Exp $ * * NOTES * some of the information in this file will be moved to @@ -119,10 +119,12 @@ extern char *ExpandDatabasePath(const char *path); extern void SetDatabaseName(const char *name); extern void SetDatabasePath(const char *path); -/* even if MB is not enabled, this function is neccesary +/* even if MULTIBYTE is not enabled, this function is neccesary * since pg_proc.h does have. */ extern const char *getdatabaseencoding(void); +extern const char *pg_encoding_to_char(int); +extern int pg_char_to_encoding(const char *); extern char *getpgusername(void); extern void SetPgUserName(void); |