Add a hook for the pg-extras set commands

this way the entire method doesn't have to be overwritten
Merge pull request #1237 from will/wl-pgpsql-hook

Add a hook for the pg-extras set commands