Show All Versions Of An Operator
We may be familiar with PostgreSQL's containment operator (@>
). Maybe we've used it with an array before, so we understand the general idea. But now we are curious about what are the other types with which this containment operator can be used.
We can quickly find out the answer with the \do
command in psql
:
The Left arg type
and Right arg type
columns tell us what we need to know.
This \do
command can be used with any operator for a similar set of information.
h/t Bruce Momjian
Last updated