From: Vadim B. Mikheev Date: Tue, 3 Jun 1997 06:29:31 +0000 (+0000) Subject: SET geqo TO 'on' restores _use_geqo_rels_ to GEQO_RELS, not X-Git-Tag: REL6_1~65 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b46e5b528103f204224bfe007f3d2ffe3513a8a1;p=postgresql SET geqo TO 'on' restores _use_geqo_rels_ to GEQO_RELS, not to last specified with 'on' #. What is better ? --- diff --git a/src/backend/tcop/variable.c b/src/backend/tcop/variable.c index b3d3edf2ae..4f00968dc2 100644 --- a/src/backend/tcop/variable.c +++ b/src/backend/tcop/variable.c @@ -2,7 +2,7 @@ * Routines for handling of 'SET var TO', 'SHOW var' and 'RESET var' * statements. * - * $Id: variable.c,v 1.10 1997/06/02 11:00:57 vadim Exp $ + * $Id: variable.c,v 1.11 1997/06/03 06:29:31 vadim Exp $ * */ @@ -151,7 +151,7 @@ static bool parse_geqo (const char *value) if ( strcasecmp (tok, "on") == 0 ) { - int32 geqo_rels = _use_geqo_rels_; + int32 geqo_rels = GEQO_RELS; if ( val != NULL ) {