Properly quote table and column when using postgres