postgres=# -- degrees(r): Returns degrees from radians r
postgres=# SELECT degrees(acos(-1)) AS half_circle,
postgres-# degrees(pi() * 2) AS full_circle;
half_circle | full_circle
-------------+-------------
180 | 360
(1 row)
postgres=#