Hi,
I a bit changed Masahiko Sawada's patch with using Dilip Kumar's
recommendations (see it in attachment).
About testing.
The most simple path to testing of command "RESET <GUC_string_variable>"
(with error) that I found:
----
1) need to modify "postgresql.conf". Add string:
default_table_access_method = 'heapXXX'
2) start PostgreSQL;
3) start "psql" and execute command:
RESET default_table_access_method;
After that we get an error:
ERROR: invalid value for parameter "default_table_access_method": "heapXXX"
DETAIL: Table access method "heapXXX" does not exist.
Without attached patch command "RESET default_table_access_method;"
returns no error.
----
Probably no reason to create new tap-test for this case...
With best regards,
Dmitry Koval.