Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Fix inadvertent semantics change in last patch to plug memory leaks.
authorRobert Haas <rhaas@postgresql.org>
Tue, 21 Jan 2014 16:42:37 +0000 (11:42 -0500)
committerRobert Haas <rhaas@postgresql.org>
Tue, 21 Jan 2014 16:49:13 +0000 (11:49 -0500)
Commit a5bca4ef034f71175d46462963af2329d22068c2 accidentally changed
the semantics when the "skipping missing configuration file" is
emitted, because it forced OK to true instead of leaving the value
untouched.

Spotted by Tom Lane.

src/backend/utils/misc/guc-file.l

index c91e82bedfdfdbc73923b771c5ec78130643e057..68917be326188ccc3ab9612af73a5a98e227480f 100644 (file)
@@ -444,7 +444,6 @@ ParseConfigFile(const char *config_file, const char *calling_file, bool strict,
        ereport(LOG,
                (errmsg("skipping missing configuration file \"%s\"",
                        abs_path)));
-       OK = true;
        goto cleanup;
    }