POINT data type doesn't exist? #122737
-
|
According to the documentation https://www.cockroachlabs.com/docs/stable/point
Why this doesn't work? |
Beta Was this translation helpful? Give feedback.
Answered by
yuzefovich
Apr 23, 2024
Replies: 1 comment
-
|
IIUC |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sergeda
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
IIUC
POINTtype is a concrete implementation ofGEOMETRYtype, so you need to specify something like"location" GEOMETRY NOT NULLand then you can insert values likePOINT(0 0)'::GEOMETRYinto that column.