POSTGRESQL: my fix for the wrong BINARY column type
(cherry picked from commit 56e5f085b6191bf5f3068226c009ecab9b481851)