From: "Martin J. Laubach" <mjl@CSlab.tuwien.ac.at>

Marc G. Fournier <scrappy@hub.org>

Commit: a51df14a6927933ba576850a50125fccf283a175
Author: Marc G. Fournier <scrappy@hub.org>
Date: 1997-04-02T18:24:52Z
Releases: 7.1.1
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.

Files

PathChange+/−
src/backend/parser/gram.y modified +29 −4
src/backend/tcop/utility.c modified +13 −2
src/backend/tcop/variable.c modified +3 −1
src/include/nodes/nodes.h modified +2 −1
src/include/nodes/parsenodes.h modified +12 −1