diff options
| author | Tom Lane | 2000-11-14 18:37:49 +0000 |
|---|---|---|
| committer | Tom Lane | 2000-11-14 18:37:49 +0000 |
| commit | 2cf48ca04bf59985117e04dd71644a507be90dbb (patch) | |
| tree | 6b1033da07f1805a79bcfb67345aba778559d74e /src/include/mb | |
| parent | 8a9315ca92804bd32b3ee864bf83d98840e1a947 (diff) | |
Extend CREATE DATABASE to allow selection of a template database to be
cloned, rather than always cloning template1. Modify initdb to generate
two identical databases rather than one, template0 and template1.
Connections to template0 are disallowed, so that it will always remain
in its virgin as-initdb'd state. pg_dumpall now dumps databases with
restore commands that say CREATE DATABASE foo WITH TEMPLATE = template0.
This allows proper behavior when there is user-added data in template1.
initdb forced!
Diffstat (limited to 'src/include/mb')
| -rw-r--r-- | src/include/mb/pg_wchar.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/include/mb/pg_wchar.h b/src/include/mb/pg_wchar.h index b4b96b679d7..0b0c2e31377 100644 --- a/src/include/mb/pg_wchar.h +++ b/src/include/mb/pg_wchar.h @@ -1,4 +1,4 @@ -/* $Id: pg_wchar.h,v 1.22 2000/10/30 10:41:05 ishii Exp $ */ +/* $Id: pg_wchar.h,v 1.23 2000/11/14 18:37:48 tgl Exp $ */ #ifndef PG_WCHAR_H #define PG_WCHAR_H @@ -152,8 +152,6 @@ extern int pg_char_to_encoding(const char *); extern int GetDatabaseEncoding(void); extern void SetDatabaseEncoding(int); -extern void SetTemplateEncoding(int); -extern int GetTemplateEncoding(void); extern unsigned short BIG5toCNS(unsigned short, unsigned char *); extern unsigned short CNStoBIG5(unsigned short, unsigned char); |
