Skip site navigation (1) Skip section navigation (2)

Re: definir PGDATA

From: "Jaime Casanova" <systemguards(at)gmail(dot)com>
To: "Oscar Arca" <Oarca(at)mscparaguay(dot)com(dot)py>
Cc: "Lista PostGreSQL" <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: definir PGDATA
Date: 2006-08-30 20:22:10
Message-ID: c2d9e70e0608301322j14813a6bh6ff599fc8f54c0d2@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-es-ayuda
On 8/30/06, Oscar Arca <Oarca(at)mscparaguay(dot)com(dot)py> wrote:
>
> Quiero levantar postgres y me dice que defina la var. de ambiente
> PGDATA:
> *******************************************************************************
> [postgres(at)localhost ~]$ /usr/bin/postmaster
> postmaster no sabe dónde encontrar el archivo de configuración del
> servidor.
> Debe especificar la opción --config-file o -D o definir la variable de
> ambiente PGDATA.
> ******************************************************************************
> algún ejemplo?
> Slds
>
>
>

en vez de usar postmaster directamente ejecuta

/usr/bin/pg_ctl -D /ruta_a_la_carpeta_data start

-- 
Atentamente,
Jaime Casanova

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying
to produce bigger and better idiots.
So far, the universe is winning."
                                       Richard Cook

In response to

pgsql-es-ayuda by date

Next:From: cristianDate: 2006-08-30 21:29:41
Subject: vacuumdb- lock
Previous:From: EspartanoDate: 2006-08-30 20:21:01
Subject: Re: definir PGDATA

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group