The property yields the current value of the setting Name.
property GUC[Name: string]: string;
This is read-only property. It corresponds to the SQL command SHOW. One should call TPSQLDatabase.ReloadGUC() method if any SET statements were executed during session.
if PSQLDatabase.GUC['bytea_output'] = 'hex' then
ShowMessage('Hex notation used');