|
42 | 42 | * Portions Copyright (c) 1994, Regents of the University of California |
43 | 43 | * Portions taken from FreeBSD. |
44 | 44 | * |
45 | | - * $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.134 2007/02/20 23:49:38 momjian Exp $ |
| 45 | + * $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.135 2007/03/18 16:50:43 neilc Exp $ |
46 | 46 | * |
47 | 47 | *------------------------------------------------------------------------- |
48 | 48 | */ |
@@ -727,7 +727,7 @@ get_encoding_id(char *encoding_name) |
727 | 727 | structencoding_match |
728 | 728 | { |
729 | 729 | enumpg_encpg_enc_code; |
730 | | -char*system_enc_name; |
| 730 | +constchar*system_enc_name; |
731 | 731 | }; |
732 | 732 |
|
733 | 733 | structencoding_matchencoding_match_list[]= { |
@@ -1481,8 +1481,8 @@ static void |
1481 | 1481 | setup_auth(void) |
1482 | 1482 | { |
1483 | 1483 | PG_CMD_DECL; |
1484 | | -char**line; |
1485 | | -staticchar*pg_authid_setup[]= { |
| 1484 | +constchar**line; |
| 1485 | +staticconstchar*pg_authid_setup[]= { |
1486 | 1486 | /* |
1487 | 1487 | * Create triggers to ensure manual updates to shared catalogs will be |
1488 | 1488 | * reflected into their "flat file" copies. |
@@ -1623,8 +1623,8 @@ static void |
1623 | 1623 | setup_depend(void) |
1624 | 1624 | { |
1625 | 1625 | PG_CMD_DECL; |
1626 | | -char**line; |
1627 | | -staticchar*pg_depend_setup[]= { |
| 1626 | +constchar**line; |
| 1627 | +staticconstchar*pg_depend_setup[]= { |
1628 | 1628 | /* |
1629 | 1629 | * Make PIN entries in pg_depend for all objects made so far in the |
1630 | 1630 | * tables that the dependency code handles. This is overkill (the |
@@ -1990,8 +1990,8 @@ static void |
1990 | 1990 | make_template0(void) |
1991 | 1991 | { |
1992 | 1992 | PG_CMD_DECL; |
1993 | | -char**line; |
1994 | | -staticchar*template0_setup[]= { |
| 1993 | +constchar**line; |
| 1994 | +staticconstchar*template0_setup[]= { |
1995 | 1995 | "CREATE DATABASE template0;\n", |
1996 | 1996 | "UPDATE pg_database SET " |
1997 | 1997 | "datistemplate = 't', " |
@@ -2045,8 +2045,8 @@ static void |
2045 | 2045 | make_postgres(void) |
2046 | 2046 | { |
2047 | 2047 | PG_CMD_DECL; |
2048 | | -char**line; |
2049 | | -staticchar*postgres_setup[]= { |
| 2048 | +constchar**line; |
| 2049 | +staticconstchar*postgres_setup[]= { |
2050 | 2050 | "CREATE DATABASE postgres;\n", |
2051 | 2051 | NULL |
2052 | 2052 | }; |
|