Re: How to pass a list of locations (longitude, latitude) to a PostgreSQL/PostGIS stored function?

Christoph Berg <myon@debian.org>

From: Christoph Berg <myon@debian.org>
To: Alexander Farber <alexander.farber@gmail.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Date: 2025-03-25T17:58:40Z
Lists: pgsql-general
Re: Tom Lane
> You might be best advised to create a composite
> type like "location (long bigint, lat bigint)" and use an array of
> that.

Or use the geometry types from PostGIS, since you are probably going
to do geo lookups on these points anyway.

Christoph