Skip to content

Instantly share code, notes, and snippets.

@pgp44
Created April 14, 2019 05:17
Show Gist options
  • Save pgp44/d2f8ce687562ebde73789858a793eb65 to your computer and use it in GitHub Desktop.
Save pgp44/d2f8ce687562ebde73789858a793eb65 to your computer and use it in GitHub Desktop.
select
to_timestamp(((t.p).p2::point_t).x) at time zone 'utc',
((t.p).p2::point_t).y
from largesttriangle t
where ((t.p).p2::point_t).y != 0
order by 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment