Fixed escaping SQL keywords for PostgreSQL