109 errhint(
"Perhaps you meant the option \"%s\".",
111 errhint(
"There are no valid options in this context.")));
145 errmsg(
"invalid value for floating point option \"%s\": %s",
151 errmsg(
"\"%s\" must be a floating point value greater than or equal to zero",
172 errmsg(
"invalid value for integer option \"%s\": %s",
178 errmsg(
"\"%s\" must be an integer value greater than zero",
195 errmsg(
"password_required=false is superuser-only"),
196 errhint(
"User mappings with the password_required option set to false may only be created or modified by the superuser.")));
205 errmsg(
"sslcert and sslkey are superuser-only"),
206 errhint(
"User mappings with the sslcert or sslkey options set may only be created or modified by the superuser.")));
222 errmsg(
"invalid value for string option \"%s\": %s",
314 errdetail(
"Could not get libpq's default connection options.")));
335 strcmp(
lopt->keyword,
"fallback_application_name") == 0 ||
336 strcmp(
lopt->keyword,
"client_encoding") == 0)
457 errmsg(
"parameter \"%s\" must be a list of extension names",
474 errmsg(
"extension \"%s\" is not installed",
498 for (p = appname; *p !=
'\0'; p++)
579 "Sets the application name to be used on the remote server.",
static Datum values[MAXATTR]
#define Assert(condition)
#define OidIsValid(objectId)
static bool is_valid_option(const char *keyword, Oid context)
int ExtractConnectionOptions(List *defelems, const char **keywords, const char **values)
static bool is_libpq_option(const char *keyword)
Datum postgres_fdw_validator(PG_FUNCTION_ARGS)
List * ExtractExtensionList(const char *extensionsString, bool warnOnMissing)
static PgFdwOption * postgres_fdw_options
char * pgfdw_application_name
char * process_pgfdw_appname(const char *appname)
static void InitPgFdwOptions(void)
char * defGetString(DefElem *def)
bool defGetBoolean(DefElem *def)
int errdetail(const char *fmt,...)
int errhint(const char *fmt,...)
int errcode(int sqlerrcode)
int errmsg(const char *fmt,...)
#define ereport(elevel,...)
Oid get_extension_oid(const char *extname, bool missing_ok)
void PQconninfoFree(PQconninfoOption *connOptions)
PQconninfoOption * PQconndefaults(void)
#define PG_GETARG_DATUM(n)
#define PG_FUNCTION_INFO_V1(funcname)
bool parse_int(const char *value, int *result, int flags, const char **hintmsg)
void DefineCustomStringVariable(const char *name, const char *short_desc, const char *long_desc, char **valueAddr, const char *bootValue, GucContext context, int flags, GucStringCheckHook check_hook, GucStringAssignHook assign_hook, GucShowHook show_hook)
bool parse_real(const char *value, double *result, int flags, const char **hintmsg)
void MarkGUCPrefixReserved(const char *className)
struct parser_state match_state[5]
static const JsonPathKeyword keywords[]
List * lappend_oid(List *list, Oid datum)
void list_free(List *list)
char * MemoryContextStrdup(MemoryContext context, const char *string)
void * MemoryContextAlloc(MemoryContext context, Size size)
char * pstrdup(const char *in)
MemoryContext TopMemoryContext
static char buf[DEFAULT_XLOG_SEG_SIZE]
List * untransformRelOptions(Datum options)
void appendStringInfo(StringInfo str, const char *fmt,...)
void appendStringInfoString(StringInfo str, const char *s)
void appendStringInfoChar(StringInfo str, char ch)
void initStringInfo(StringInfo str)
const char * getClosestMatch(ClosestMatchState *state)
bool SplitIdentifierString(char *rawstring, char separator, List **namelist)
void initClosestMatch(ClosestMatchState *state, const char *source, int max_d)
void updateClosestMatch(ClosestMatchState *state, const char *candidate)