|
37 | 37 | *
|
38 | 38 | *
|
39 | 39 | * IDENTIFICATION
|
40 |
| - * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.583 2009/06/26 20:29:04 tgl Exp $ |
| 40 | + * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.584 2009/07/08 18:55:35 tgl Exp $ |
41 | 41 | *
|
42 | 42 | * NOTES
|
43 | 43 | *
|
@@ -424,8 +424,6 @@ typedef struct
|
424 | 424 | char my_exec_path[MAXPGPATH];
|
425 | 425 | char pkglib_path[MAXPGPATH];
|
426 | 426 | char ExtraOptions[MAXPGPATH];
|
427 |
| - char lc_collate[NAMEDATALEN]; |
428 |
| - char lc_ctype[NAMEDATALEN]; |
429 | 427 | } BackendParameters;
|
430 | 428 |
|
431 | 429 | static void read_backend_variables(char *id, Port *port);
|
@@ -4475,9 +4473,6 @@ save_backend_variables(BackendParameters *param, Port *port,
|
4475 | 4473 |
|
4476 | 4474 | strlcpy(param->ExtraOptions, ExtraOptions, MAXPGPATH);
|
4477 | 4475 |
|
4478 |
| - strlcpy(param->lc_collate, setlocale(LC_COLLATE, NULL), NAMEDATALEN); |
4479 |
| - strlcpy(param->lc_ctype, setlocale(LC_CTYPE, NULL), NAMEDATALEN); |
4480 |
| - |
4481 | 4476 | return true;
|
4482 | 4477 | }
|
4483 | 4478 |
|
@@ -4680,9 +4675,6 @@ restore_backend_variables(BackendParameters *param, Port *port)
|
4680 | 4675 | strlcpy(pkglib_path, param->pkglib_path, MAXPGPATH);
|
4681 | 4676 |
|
4682 | 4677 | strlcpy(ExtraOptions, param->ExtraOptions, MAXPGPATH);
|
4683 |
| - |
4684 |
| - setlocale(LC_COLLATE, param->lc_collate); |
4685 |
| - setlocale(LC_CTYPE, param->lc_ctype); |
4686 | 4678 | }
|
4687 | 4679 |
|
4688 | 4680 |
|
|
0 commit comments