Answer the question
In order to leave comments, you need to log in
Why SELECT (24576 & 8192) = 8192; gives an error message?
Hello. PostgreSQL 9.6 SELECT (24576 & 8192) = 8192;
issues
ERROR: syntax error at or near ""
LINE 1: SELECT (24576 & 8192) = 8192;
^
SELECT 768::bit(8);
ERROR: syntax error at or near "::"
LINE 1: SELECT 768::bit(8);
^
Answer the question
In order to leave comments, you need to log in
Looks like a type mismatch.
This is how it works great:
UPD. You can look here, for example: https://stackoverflow.com/questions/14200486/match...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question