pg_sphere

pg_sphere

spherical objects with useful functions, operators and index support

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
3590
pg_sphere
pgsphere
1.5.2
TYPE
BSD 3-Clause
C
AttributeHas BinaryHas LibraryNeed LoadHas DDLRelocatableTrusted
--s-d-r
No
Yes
No
Yes
yes
no
Relationships
See Also
postgis
q3c
earthdistance
prefix
semver
unit
pgpdf
pglite_fusion

Packages

TypeRepoVersionPG Major AvailabilityPackage PatternDependencies
EL
PIGSTY
1.5.2
18
17
16
15
14
13
pgsphere_$v*-
Debian
PGDG
1.5.2
18
17
16
15
14
13
postgresql-$v-pgsphere-
Linux / PGPG18PG17PG16PG15PG14PG13
el8.x86_64
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
el8.aarch64
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
el9.x86_64
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
el9.aarch64
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
el10.x86_64
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
el10.aarch64
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
d12.x86_64
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
d12.aarch64
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
d13.x86_64
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
d13.aarch64
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
u22.x86_64
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
u22.aarch64
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
u24.x86_64
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
u24.aarch64
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
PGDG 1.5.2
PackageVersionOSORGSIZEFile URL
pgsphere_181.5.2el8.x86_64pigsty125.2 KiBpgsphere_18-1.5.2-1PIGSTY.el8.x86_64.rpm
pgsphere_181.5.2el8.aarch64pigsty122.2 KiBpgsphere_18-1.5.2-1PIGSTY.el8.aarch64.rpm
pgsphere_181.5.2el9.x86_64pigsty118.2 KiBpgsphere_18-1.5.2-1PIGSTY.el9.x86_64.rpm
pgsphere_181.5.2el9.aarch64pigsty116.7 KiBpgsphere_18-1.5.2-1PIGSTY.el9.aarch64.rpm
pgsphere_181.5.2el10.x86_64pigsty119.3 KiBpgsphere_18-1.5.2-1PIGSTY.el10.x86_64.rpm
pgsphere_181.5.2el10.aarch64pigsty119.5 KiBpgsphere_18-1.5.2-1PIGSTY.el10.aarch64.rpm
postgresql-18-pgsphere1.5.2d12.x86_64pgdg405.0 KiBpostgresql-18-pgsphere_1.5.2-1.pgdg12+1_amd64.deb
postgresql-18-pgsphere1.5.2d12.aarch64pgdg400.2 KiBpostgresql-18-pgsphere_1.5.2-1.pgdg12+1_arm64.deb
postgresql-18-pgsphere1.5.2d13.x86_64pgdg405.1 KiBpostgresql-18-pgsphere_1.5.2-1.pgdg13+1_amd64.deb
postgresql-18-pgsphere1.5.2d13.aarch64pgdg402.7 KiBpostgresql-18-pgsphere_1.5.2-1.pgdg13+1_arm64.deb
postgresql-18-pgsphere1.5.2u22.x86_64pgdg413.8 KiBpostgresql-18-pgsphere_1.5.2-1.pgdg22.04+1_amd64.deb
postgresql-18-pgsphere1.5.2u22.aarch64pgdg407.4 KiBpostgresql-18-pgsphere_1.5.2-1.pgdg22.04+1_arm64.deb
postgresql-18-pgsphere1.5.2u24.x86_64pgdg406.4 KiBpostgresql-18-pgsphere_1.5.2-1.pgdg24.04+1_amd64.deb
postgresql-18-pgsphere1.5.2u24.aarch64pgdg401.2 KiBpostgresql-18-pgsphere_1.5.2-1.pgdg24.04+1_arm64.deb
PackageVersionOSORGSIZEFile URL
pgsphere_171.5.2el8.x86_64pigsty125.2 KiBpgsphere_17-1.5.2-1PIGSTY.el8.x86_64.rpm
pgsphere_171.5.2el8.aarch64pigsty122.2 KiBpgsphere_17-1.5.2-1PIGSTY.el8.aarch64.rpm
pgsphere_171.5.2el9.x86_64pigsty118.2 KiBpgsphere_17-1.5.2-1PIGSTY.el9.x86_64.rpm
pgsphere_171.5.2el9.aarch64pigsty116.7 KiBpgsphere_17-1.5.2-1PIGSTY.el9.aarch64.rpm
pgsphere_171.5.2el10.x86_64pigsty119.3 KiBpgsphere_17-1.5.2-1PIGSTY.el10.x86_64.rpm
pgsphere_171.5.2el10.aarch64pigsty119.6 KiBpgsphere_17-1.5.2-1PIGSTY.el10.aarch64.rpm
postgresql-17-pgsphere1.5.2d12.x86_64pgdg404.8 KiBpostgresql-17-pgsphere_1.5.2-1.pgdg12+1_amd64.deb
postgresql-17-pgsphere1.5.2d12.aarch64pgdg400.1 KiBpostgresql-17-pgsphere_1.5.2-1.pgdg12+1_arm64.deb
postgresql-17-pgsphere1.5.2d13.x86_64pgdg405.5 KiBpostgresql-17-pgsphere_1.5.2-1.pgdg13+1_amd64.deb
postgresql-17-pgsphere1.5.2d13.aarch64pgdg402.5 KiBpostgresql-17-pgsphere_1.5.2-1.pgdg13+1_arm64.deb
postgresql-17-pgsphere1.5.2u22.x86_64pgdg434.0 KiBpostgresql-17-pgsphere_1.5.2-1.pgdg22.04+1_amd64.deb
postgresql-17-pgsphere1.5.2u22.aarch64pgdg427.1 KiBpostgresql-17-pgsphere_1.5.2-1.pgdg22.04+1_arm64.deb
postgresql-17-pgsphere1.5.2u24.x86_64pgdg406.3 KiBpostgresql-17-pgsphere_1.5.2-1.pgdg24.04+1_amd64.deb
postgresql-17-pgsphere1.5.2u24.aarch64pgdg401.0 KiBpostgresql-17-pgsphere_1.5.2-1.pgdg24.04+1_arm64.deb
PackageVersionOSORGSIZEFile URL
pgsphere_161.5.2el8.x86_64pigsty125.3 KiBpgsphere_16-1.5.2-1PIGSTY.el8.x86_64.rpm
pgsphere_161.5.2el8.aarch64pigsty122.2 KiBpgsphere_16-1.5.2-1PIGSTY.el8.aarch64.rpm
pgsphere_161.5.2el9.x86_64pigsty118.2 KiBpgsphere_16-1.5.2-1PIGSTY.el9.x86_64.rpm
pgsphere_161.5.2el9.aarch64pigsty116.7 KiBpgsphere_16-1.5.2-1PIGSTY.el9.aarch64.rpm
pgsphere_161.5.2el10.x86_64pigsty119.3 KiBpgsphere_16-1.5.2-1PIGSTY.el10.x86_64.rpm
pgsphere_161.5.2el10.aarch64pigsty119.5 KiBpgsphere_16-1.5.2-1PIGSTY.el10.aarch64.rpm
postgresql-16-pgsphere1.5.2d12.x86_64pgdg404.8 KiBpostgresql-16-pgsphere_1.5.2-1.pgdg12+1_amd64.deb
postgresql-16-pgsphere1.5.2d12.aarch64pgdg400.2 KiBpostgresql-16-pgsphere_1.5.2-1.pgdg12+1_arm64.deb
postgresql-16-pgsphere1.5.2d13.x86_64pgdg405.4 KiBpostgresql-16-pgsphere_1.5.2-1.pgdg13+1_amd64.deb
postgresql-16-pgsphere1.5.2d13.aarch64pgdg402.6 KiBpostgresql-16-pgsphere_1.5.2-1.pgdg13+1_arm64.deb
postgresql-16-pgsphere1.5.2u22.x86_64pgdg433.6 KiBpostgresql-16-pgsphere_1.5.2-1.pgdg22.04+1_amd64.deb
postgresql-16-pgsphere1.5.2u22.aarch64pgdg427.1 KiBpostgresql-16-pgsphere_1.5.2-1.pgdg22.04+1_arm64.deb
postgresql-16-pgsphere1.5.2u24.x86_64pgdg406.4 KiBpostgresql-16-pgsphere_1.5.2-1.pgdg24.04+1_amd64.deb
postgresql-16-pgsphere1.5.2u24.aarch64pgdg401.0 KiBpostgresql-16-pgsphere_1.5.2-1.pgdg24.04+1_arm64.deb
PackageVersionOSORGSIZEFile URL
pgsphere_151.5.2el8.x86_64pigsty127.2 KiBpgsphere_15-1.5.2-1PIGSTY.el8.x86_64.rpm
pgsphere_151.5.2el8.aarch64pigsty124.1 KiBpgsphere_15-1.5.2-1PIGSTY.el8.aarch64.rpm
pgsphere_151.5.2el9.x86_64pigsty114.7 KiBpgsphere_15-1.5.2-1PIGSTY.el9.x86_64.rpm
pgsphere_151.5.2el9.aarch64pigsty114.8 KiBpgsphere_15-1.5.2-1PIGSTY.el9.aarch64.rpm
pgsphere_151.5.2el10.x86_64pigsty114.5 KiBpgsphere_15-1.5.2-1PIGSTY.el10.x86_64.rpm
pgsphere_151.5.2el10.aarch64pigsty116.8 KiBpgsphere_15-1.5.2-1PIGSTY.el10.aarch64.rpm
postgresql-15-pgsphere1.5.2d12.x86_64pgdg405.9 KiBpostgresql-15-pgsphere_1.5.2-1.pgdg12+1_amd64.deb
postgresql-15-pgsphere1.5.2d12.aarch64pgdg401.2 KiBpostgresql-15-pgsphere_1.5.2-1.pgdg12+1_arm64.deb
postgresql-15-pgsphere1.5.2d13.x86_64pgdg406.2 KiBpostgresql-15-pgsphere_1.5.2-1.pgdg13+1_amd64.deb
postgresql-15-pgsphere1.5.2d13.aarch64pgdg403.3 KiBpostgresql-15-pgsphere_1.5.2-1.pgdg13+1_arm64.deb
postgresql-15-pgsphere1.5.2u22.x86_64pgdg434.2 KiBpostgresql-15-pgsphere_1.5.2-1.pgdg22.04+1_amd64.deb
postgresql-15-pgsphere1.5.2u22.aarch64pgdg428.2 KiBpostgresql-15-pgsphere_1.5.2-1.pgdg22.04+1_arm64.deb
postgresql-15-pgsphere1.5.2u24.x86_64pgdg404.9 KiBpostgresql-15-pgsphere_1.5.2-1.pgdg24.04+1_amd64.deb
postgresql-15-pgsphere1.5.2u24.aarch64pgdg402.1 KiBpostgresql-15-pgsphere_1.5.2-1.pgdg24.04+1_arm64.deb
PackageVersionOSORGSIZEFile URL
pgsphere_141.5.2el8.x86_64pigsty127.1 KiBpgsphere_14-1.5.2-1PIGSTY.el8.x86_64.rpm
pgsphere_141.5.2el8.aarch64pigsty124.1 KiBpgsphere_14-1.5.2-1PIGSTY.el8.aarch64.rpm
pgsphere_141.5.2el9.x86_64pigsty114.6 KiBpgsphere_14-1.5.2-1PIGSTY.el9.x86_64.rpm
pgsphere_141.5.2el9.aarch64pigsty114.8 KiBpgsphere_14-1.5.2-1PIGSTY.el9.aarch64.rpm
pgsphere_141.5.2el10.x86_64pigsty114.5 KiBpgsphere_14-1.5.2-1PIGSTY.el10.x86_64.rpm
pgsphere_141.5.2el10.aarch64pigsty116.7 KiBpgsphere_14-1.5.2-1PIGSTY.el10.aarch64.rpm
postgresql-14-pgsphere1.5.2d12.x86_64pgdg406.0 KiBpostgresql-14-pgsphere_1.5.2-1.pgdg12+1_amd64.deb
postgresql-14-pgsphere1.5.2d12.aarch64pgdg400.9 KiBpostgresql-14-pgsphere_1.5.2-1.pgdg12+1_arm64.deb
postgresql-14-pgsphere1.5.2d13.x86_64pgdg406.3 KiBpostgresql-14-pgsphere_1.5.2-1.pgdg13+1_amd64.deb
postgresql-14-pgsphere1.5.2d13.aarch64pgdg403.9 KiBpostgresql-14-pgsphere_1.5.2-1.pgdg13+1_arm64.deb
postgresql-14-pgsphere1.5.2u22.x86_64pgdg433.6 KiBpostgresql-14-pgsphere_1.5.2-1.pgdg22.04+1_amd64.deb
postgresql-14-pgsphere1.5.2u22.aarch64pgdg428.1 KiBpostgresql-14-pgsphere_1.5.2-1.pgdg22.04+1_arm64.deb
postgresql-14-pgsphere1.5.2u24.x86_64pgdg405.1 KiBpostgresql-14-pgsphere_1.5.2-1.pgdg24.04+1_amd64.deb
postgresql-14-pgsphere1.5.2u24.aarch64pgdg402.0 KiBpostgresql-14-pgsphere_1.5.2-1.pgdg24.04+1_arm64.deb
PackageVersionOSORGSIZEFile URL
pgsphere_131.5.2el8.x86_64pigsty126.8 KiBpgsphere_13-1.5.2-1PIGSTY.el8.x86_64.rpm
pgsphere_131.5.2el8.aarch64pigsty124.0 KiBpgsphere_13-1.5.2-1PIGSTY.el8.aarch64.rpm
pgsphere_131.5.2el9.x86_64pigsty114.9 KiBpgsphere_13-1.5.2-1PIGSTY.el9.x86_64.rpm
pgsphere_131.5.2el9.aarch64pigsty114.7 KiBpgsphere_13-1.5.2-1PIGSTY.el9.aarch64.rpm
pgsphere_131.5.2el10.x86_64pigsty114.5 KiBpgsphere_13-1.5.2-1PIGSTY.el10.x86_64.rpm
pgsphere_131.5.2el10.aarch64pigsty116.7 KiBpgsphere_13-1.5.2-1PIGSTY.el10.aarch64.rpm
postgresql-13-pgsphere1.5.2d12.x86_64pgdg405.4 KiBpostgresql-13-pgsphere_1.5.2-1.pgdg12+1_amd64.deb
postgresql-13-pgsphere1.5.2d12.aarch64pgdg400.8 KiBpostgresql-13-pgsphere_1.5.2-1.pgdg12+1_arm64.deb
postgresql-13-pgsphere1.5.2d13.x86_64pgdg405.5 KiBpostgresql-13-pgsphere_1.5.2-1.pgdg13+1_amd64.deb
postgresql-13-pgsphere1.5.2d13.aarch64pgdg402.7 KiBpostgresql-13-pgsphere_1.5.2-1.pgdg13+1_arm64.deb
postgresql-13-pgsphere1.5.2u22.x86_64pgdg432.6 KiBpostgresql-13-pgsphere_1.5.2-1.pgdg22.04+1_amd64.deb
postgresql-13-pgsphere1.5.2u22.aarch64pgdg427.4 KiBpostgresql-13-pgsphere_1.5.2-1.pgdg22.04+1_arm64.deb
postgresql-13-pgsphere1.5.2u24.x86_64pgdg404.5 KiBpostgresql-13-pgsphere_1.5.2-1.pgdg24.04+1_amd64.deb
postgresql-13-pgsphere1.5.2u24.aarch64pgdg401.3 KiBpostgresql-13-pgsphere_1.5.2-1.pgdg24.04+1_arm64.deb

Source

pig build get pg_sphere; # get pg_sphere source code
pig build dep pg_sphere; # install build dependencies
pig build pkg pg_sphere; # build extension rpm or deb
pig build ext pg_sphere; # build extension rpms

Install

To add the required PGDG / PIGSTY upstream repository, use:

pig repo add pgsql -u   # add PGDG + Pigsty repo and update cache (leave existing repos)

Install this extension with:

pig ext install pg_sphere; # install by extension name, for the current active PG version
pig ext install pgsphere; # install via package alias, for the active PG version
pig ext install pg_sphere -v 18;   # install for PG 18
pig ext install pg_sphere -v 17;   # install for PG 17
pig ext install pg_sphere -v 16;   # install for PG 16
pig ext install pg_sphere -v 15;   # install for PG 15
pig ext install pg_sphere -v 14;   # install for PG 14
pig ext install pg_sphere -v 13;   # install for PG 13

Create this extension with:

CREATE EXTENSION pg_sphere;
Last updated on