Datazo V Posted on 2016/12/01 by Don Diego Puramagia SELECT unnest(string_to_array(‘1,2,3,4’, ‘,’))un string lo transformas a un array y el unnest te lo pone en filitas… bien tecnicoSaludos,
PostgreSQLPostgres Datazo II Don Diego Puramagia 2016/10/26 0Ayer Leo necesitaba corregir un sp de XXXX en Produccion. Me pidio por mantis corregirlo una vez, lo ejecutó y tuvo otro error. Me pidio […]
PostgreSQLEsto es Hibernate Don Diego Puramagia 2014/02/17 1La peor consulta que me han pedido que revise en mi vida, por lejos. Esto se debe al uso de la herramienta Hibernate total, que […]
PostgreSQLComo ver el estado del servidor postgressql sin ser superuser Don Diego Puramagia 2016/11/06 0CREATE FUNCTION get_sa() RETURNS SETOF pg_stat_activity AS $$ SELECT * FROM pg_catalog.pg_stat_activity; $$ LANGUAGE sql VOLATILE SECURITY DEFINER; CREATE VIEW pg_stat_activity_allusers AS SELECT * FROM […]