This method will be used in a next method select * from ST_Extrude('tableName'). I discussed with @gpetit about that. We will have two functions a scalar and a table function.