ST_Z — Returns the Z coordinate of a Point.
float ST_Z(geometry  a_point);
Restituisce la coordinata Z del punto, o NULL se non disponibile. L'input deve essere un punto.
                 
               | 
              |
| 
                 To get the minimum and maximum Z value of geometry coordinates use the functions ST_ZMin and ST_ZMax.  | 
            
            
 Questo metodo implementa la specifica SQL/MM. 
            
 Questa funzione supporta il 3d e non distrugge gli z-index. 
SELECT ST_Z(ST_GeomFromEWKT('POINT(1 2 3 4)'));
 st_z
------
        3
(1 row)