Skip to content

Instantly share code, notes, and snippets.

@sneeu
Created September 26, 2013 14:20
Show Gist options
  • Save sneeu/6714890 to your computer and use it in GitHub Desktop.
Save sneeu/6714890 to your computer and use it in GitHub Desktop.
john=# EXPLAIN SELECT id FROM users WHERE id = id = xyz;
ERROR: operator does not exist: integer = boolean
LINE 1: EXPLAIN SELECT id FROM users WHERE id = id = xyz;
^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment