|
10 | 10 | * Written by Peter Eisentraut <peter_e@gmx.net>.
|
11 | 11 | *
|
12 | 12 | * IDENTIFICATION
|
13 |
| - * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.471 2008/09/1018:09:19 alvherre Exp $ |
| 13 | + * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.472 2008/09/1019:16:22 tgl Exp $ |
14 | 14 | *
|
15 | 15 | *--------------------------------------------------------------------
|
16 | 16 | */
|
@@ -5128,9 +5128,10 @@ set_config_sourcefile(const char *name, char *sourcefile, int sourceline)
|
5128 | 5128 | if (record==NULL)
|
5129 | 5129 | elog(ERROR,"unrecognized configuration parameter \"%s\"",name);
|
5130 | 5130 |
|
| 5131 | +sourcefile=guc_strdup(elevel,sourcefile); |
5131 | 5132 | if (record->sourcefile)
|
5132 | 5133 | free(record->sourcefile);
|
5133 |
| -record->sourcefile=guc_strdup(elevel,sourcefile); |
| 5134 | +record->sourcefile=sourcefile; |
5134 | 5135 | record->sourceline=sourceline;
|
5135 | 5136 | }
|
5136 | 5137 |
|
|