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
POINT
type is a concrete implementation ofGEOMETRY
type, so you need to specify something like"location" GEOMETRY NOT NULL
and then you can insert values likePOINT(0 0)'::GEOMETRY
into that column.