JOSEDU – WEB

Un ratito tranquilo…

conexion a postgres en modo standalone

TAGS: None

Por si se produce algun “cuelgue” en la base de datos que obligue a conectar en modo single-user, aqui tenemos el comando basico:

su -c ‘postgres -D /ruta_al_data_del_postgres nombre_de_la_base_datos’ postgres

Para más opciones consultar el manual:http://www.postgresql.org/docs/8.1/static/app-postgres.html

TAGS: None

One Response to “conexion a postgres en modo standalone”


  1. miguel
    on Abr 23rd, 2007
    @ 12:47 pm

    Ademas un comando bastante útil es pg_ctl (se debe lanzar con un usuario no privilegiado) con este comando puedes controlar el postmaster (stop|start|status…)

Leave a Reply

You must be logged in to post a comment.

© 2009 JOSEDU – WEB. All Rights Reserved.

This blog is powered by Wordpress and Magatheme by Bryan Helmig.

sex porn