File tree 1 file changed +31
-1
lines changed
1 file changed +31
-1
lines changed Original file line number Diff line number Diff line change @@ -47,4 +47,34 @@ visibility_mode
47
47
48
48
query TT
49
49
SELECT * FROM pg_catalog.pg_settings where name='dummy';
50
- ----
50
+ ----
51
+
52
+ # Tab-completion of `SET` command
53
+ query T
54
+ SELECT name
55
+ FROM
56
+ (SELECT pg_catalog.lower(name) AS name
57
+ FROM pg_catalog.pg_settings
58
+ WHERE context IN ('user',
59
+ 'superuser')
60
+ UNION ALL SELECT 'constraints'
61
+ UNION ALL SELECT 'transaction'
62
+ UNION ALL SELECT 'session'
63
+ UNION ALL SELECT 'role'
64
+ UNION ALL SELECT 'tablespace'
65
+ UNION ALL SELECT 'all') ss
66
+ WHERE substring(name, 1, 8)='search_p';
67
+ ----
68
+ search_path
69
+
70
+ # Tab-completion of `ALTER SYSTEM SET` command
71
+ query T
72
+ SELECT name
73
+ FROM
74
+ (SELECT pg_catalog.lower(name) AS name
75
+ FROM pg_catalog.pg_settings
76
+ WHERE context != 'internal'
77
+ UNION ALL SELECT 'all') ss
78
+ WHERE substring(name, 1, 7)='checkpo';
79
+ ----
80
+ checkpoint_frequency
You can’t perform that action at this time.
0 commit comments