Use PosgreSql adapter's location and execute location methods.

[#60019012]