¡Esta es una revisión vieja del documento!


Base de datos PostgreSQL

Uptime:

  SELECT date_trunc('second',current_timestamp - pg_postmaster_start_time()) as uptime;

Crear usuario:

  CREATE USER admin SUPERUSER WITH PASSWORD 'password';
  
  psql -U admin postgres -W -h localhost
  • postgresql.1617553086.txt.gz
  • Última modificación: 2021/04/04 11:18
  • por 127.0.0.1