Logo
Explore Help
Sign In
1berry/postgres
1
0
Fork 0
You've already forked postgres
Code Issues Packages Projects Releases Wiki Activity
postgres/src/backend/tcop/variable.c

15 lines
252 B
C
Raw Normal View History

MIssed adding a file to the repository
1997-03-25 09:44:00 +00:00
#include "postgres.h"
#include "tcop/variable.h"
From: "Martin J. Laubach" <mjl@CSlab.tuwien.ac.at> Subject: [HACKERS] Patch: SET var TO 'val' Here is a patch that adds a "SET variable TO 'somevalue'" capability to the parser, and then calls the SetPGVariable() function (which does just issue a elog(NOTICE) to see whether it works). That's the framework for adding timezone/date format/language/... stuff.
1997-04-02 18:24:52 +00:00
bool SetPGVariable(const char *name, const char *value)
MIssed adding a file to the repository
1997-03-25 09:44:00 +00:00
{
From: "Martin J. Laubach" <mjl@CSlab.tuwien.ac.at> Subject: [HACKERS] Patch: SET var TO 'val' Here is a patch that adds a "SET variable TO 'somevalue'" capability to the parser, and then calls the SetPGVariable() function (which does just issue a elog(NOTICE) to see whether it works). That's the framework for adding timezone/date format/language/... stuff.
1997-04-02 18:24:52 +00:00
elog(NOTICE, "Variable %s set to \"%s\"", name, value);
MIssed adding a file to the repository
1997-03-25 09:44:00 +00:00
return TRUE;
}
const char *GetPGVariable(const char *varName)
{
return NULL;
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 68ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API