Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitea567d2

Browse files
author
Thomas G. Lockhart
committed
Declare routines which support SET keyword = value SQL commands.
1 parent7016678 commitea567d2

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

‎src/include/tcop/variable.h

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
* Headers for handling of 'SET var TO', 'SHOW var' and 'RESET var'
33
* statements
44
*
5-
* $Id: variable.h,v 1.6 1997/09/08 02:39:21 momjian Exp $
5+
* $Id: variable.h,v 1.7 1997/11/07 06:45:16 thomas Exp $
66
*
77
*/
8+
#ifndefVARIABLE_H
9+
#defineVARIABLE_H 1
810

911
enumDateFormat
1012
{
@@ -27,3 +29,30 @@ extern struct PGVariables PGVariables;
2729
boolSetPGVariable(constchar*,constchar*);
2830
boolGetPGVariable(constchar*);
2931
boolResetPGVariable(constchar*);
32+
33+
externboolset_date(void);
34+
externboolshow_date(void);
35+
externboolreset_date(void);
36+
externboolparse_date(constchar*);
37+
externboolset_timezone(void);
38+
externboolshow_timezone(void);
39+
externboolreset_timezone(void);
40+
externboolparse_timezone(constchar*);
41+
externboolset_cost_heap(void);
42+
externboolshow_cost_heap(void);
43+
externboolreset_cost_heap(void);
44+
externboolparse_cost_heap(constchar*);
45+
externboolset_cost_index(void);
46+
externboolshow_cost_index(void);
47+
externboolreset_cost_index(void);
48+
externboolparse_cost_index(constchar*);
49+
externboolset_r_plans(void);
50+
externboolshow_r_plans(void);
51+
externboolreset_r_plans(void);
52+
externboolparse_r_plans(constchar*);
53+
externboolset_geqo(void);
54+
externboolshow_geqo(void);
55+
externboolreset_geqo(void);
56+
externboolparse_geqo(constchar*);
57+
58+
#endif/* VARIABLE_H */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp