Thread: 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.
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.
--


Attachment
Is it possible you dont have it in your path? try <path to pgsql bin>/initdb
on my system /usr/local/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.
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.
Attachment
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
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ó:
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
--


Attachment
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/ > Please line up in a tree and maintain the heap invariant while > boarding. Thank you for flying nlogn airlines.
Attachment
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ó:
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 databaseIf you're using debian then check out pg_dropcluster and pg_createcluster commands. Have a nice day,
--

