1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-05 02:22:28 +03:00

Add add_missing_from GUC variable.

Nigel J. Andrews
This commit is contained in:
Bruce Momjian
2003-06-11 22:13:22 +00:00
parent 9ffdd91bba
commit 240dc5cddc
7 changed files with 48 additions and 10 deletions

View File

@@ -10,7 +10,7 @@
* Written by Peter Eisentraut <peter_e@gmx.net>.
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.130 2003/06/11 18:49:00 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.131 2003/06/11 22:13:22 momjian Exp $
*
*--------------------------------------------------------------------
*/
@@ -43,6 +43,7 @@
#include "optimizer/paths.h"
#include "optimizer/prep.h"
#include "parser/parse_expr.h"
#include "parser/parse_relation.h"
#include "storage/fd.h"
#include "storage/freespace.h"
#include "storage/lock.h"
@@ -550,10 +551,15 @@ static struct config_bool
{"transaction_read_only", PGC_USERSET, GUC_NO_RESET_ALL}, &XactReadOnly,
false, NULL, NULL
},
{
{"add_missing_from", PGC_USERSET}, &add_missing_from,
true, NULL, NULL
},
/* End-of-list marker */
{
{NULL, 0}, NULL, false, NULL, NULL
}
},
};
@@ -742,6 +748,7 @@ static struct config_int
0, 0, INT_MAX / 1000, NULL, NULL
},
/* End-of-list marker */
{
{NULL, 0}, NULL, 0, 0, 0, NULL, NULL
}
@@ -784,6 +791,7 @@ static struct config_real
0.5, 0.0, 1.0, assign_random_seed, show_random_seed
},
/* End-of-list marker */
{
{NULL, 0}, NULL, 0.0, 0.0, 0.0, NULL, NULL
}
@@ -946,6 +954,7 @@ static struct config_string
XLOG_sync_method_default, assign_xlog_sync_method, NULL
},
/* End-of-list marker */
{
{NULL, 0}, NULL, NULL, NULL, NULL
}