When running this query, the local client seems to crash: SELECT * FROM block LEFT JOIN tx ON block.id = tx.block_id LEFT JOIN tx_metadata ON tx_id=tx_metadata.tx_id WHERE block.hash='\\x${hash}'; Running the command in psql works fine and can verify it is working correctly as a query.