-- 결과 "0101000020E6100000A2ED516D84BA5F4041F9855740B54240" "0101000020E6100000E6824D190DB95F407DB540B5CAB34240" "0101000020E61000007CB14A8739B95F40D1C60B02A0B34240"
1 2 3 4 5 6
select st_astext(ST_Centroid(geom)) from my_table
-- 결과 "POINT(126.914332704552 37.4160260585945)" "POINT(126.891424489684 37.4046236577951)" "POINT(126.894136259978 37.4033205564025)"
1 2 3 4 5 6
select st_x(ST_Centroid(geom)), st_y(ST_Centroid(geom)) from my_table
-- 결과 126.914332704552;37.4160260585945 126.891424489684;37.4046236577951 126.894136259978;37.4033205564025