[#718] Move pg error codes in a separate dictionary