how can i get initdb

Started by J. Manuel Velasco - UBILIBETalmost 18 years ago6 messagesgeneral
Jump to latest

Hello,

I read that with initdb command I can specify the server encoding, but
with my installation I don't hae initdb command.

How can I install it? Please

Thanks.

PS: I installed postgresql-8.3 debian package and it's respectives
dependencies.
--

Attachments:

Manucastellano.jpgimage/jpeg; name=Manucastellano.jpgDownload
In reply to: J. Manuel Velasco - UBILIBET (#1)
Re: how can i get initdb

found it, thanks a lot

tomorrow i will try set the encoding with initdb adn try to restore the
database

thanks a have a good end of the day !

salman escribi�:

J. Manuel Velasco - UBILIBET wrote:

Hello,

I read that with initdb command I can specify the server encoding,
but with my installation I don't hae initdb command.

How can I install it? Please

Thanks.

PS: I installed postgresql-8.3 debian package and it's respectives
dependencies.
--

initdb for debian's postgres 8.3 package is in
/usr/lib/postgresql/8.3/bin/initdb -- it's probably just not in your
nomal path.

root@Athena:~# dpkg -L postgresql-8.3 |grep -i initdb
/usr/lib/postgresql/8.3/bin/initdb

-salman

--

Attachments:

Manucastellano.jpgimage/jpeg; name=Manucastellano.jpgDownload
#3Glyn Astill
glynastill@yahoo.co.uk
In reply to: J. Manuel Velasco - UBILIBET (#2)
Re: how can i get initdb

Is it possible you dont have it in your path? try <path to pgsql bin>/initdb
on my system /usr/local/pgsql/bin/initdb

----- Original Message ----
From: J. Manuel Velasco - UBILIBET <tech@ubilibet.com>
To: pgsql-general@postgresql.org
Sent: Tuesday, 13 May, 2008 4:42:37 PM
Subject: [GENERAL] how can i get initdb

Hello,

I read that with initdb command I can specify the server encoding, but
with my installation I don't hae initdb command.

How can I install it? Please

Thanks.

PS: I installed postgresql-8.3 debian package and it's respectives
dependencies.

--

__________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html

Attachments:

Manucastellano.jpgimage/jpeg; name=Manucastellano.jpgDownload
#4salman
salmanb@quietcaresystems.com
In reply to: J. Manuel Velasco - UBILIBET (#1)
Re: how can i get initdb

J. Manuel Velasco - UBILIBET wrote:

Hello,

I read that with initdb command I can specify the server encoding, but with my
installation I don't hae initdb command.

How can I install it? Please

Thanks.

PS: I installed postgresql-8.3 debian package and it's respectives dependencies.
--

initdb for debian's postgres 8.3 package is in
/usr/lib/postgresql/8.3/bin/initdb -- it's probably just not in your
nomal path.

root@Athena:~# dpkg -L postgresql-8.3 |grep -i initdb
/usr/lib/postgresql/8.3/bin/initdb

-salman

#5Martijn van Oosterhout
kleptog@svana.org
In reply to: J. Manuel Velasco - UBILIBET (#2)
Re: how can i get initdb

On Tue, May 13, 2008 at 06:05:48PM +0200, J. Manuel Velasco - UBILIBET wrote:

found it, thanks a lot

tomorrow i will try set the encoding with initdb adn try to restore the
database

If you're using debian then check out pg_dropcluster and
pg_createcluster commands.

Have a nice day,
--
Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/

Show quoted text

Please line up in a tree and maintain the heap invariant while
boarding. Thank you for flying nlogn airlines.

In reply to: Martijn van Oosterhout (#5)
Re: how can i get initdb

Iep,

So thanks to your hint I haven't done the re-encoding, I guess it's the
much better. I don't like latin2 anyway, i prefer UTF8 since I thinkis
more standard.

Thanks a lot.

All beings be happy,
�_- manou

Martijn van Oosterhout escribi�:

On Tue, May 13, 2008 at 06:05:48PM +0200, J. Manuel Velasco - UBILIBET wrote:

found it, thanks a lot

tomorrow i will try set the encoding with initdb adn try to restore the
database

If you're using debian then check out pg_dropcluster and
pg_createcluster commands.

Have a nice day,

--

Attachments:

Manucastellano.jpgimage/jpeg; name=Manucastellano.jpgDownload