From: | Devrim GUNDUZ <devrim(at)commandprompt(dot)com> |
---|---|
To: | acemi nix <aceminix(at)gmail(dot)com> |
Cc: | PostgreSQL Türkiye -Genel <pgsql-tr-genel(at)PostgreSQL(dot)org> |
Subject: | Re: Oracle'dan PostgreSQL'e |
Date: | 2006-02-28 22:22:15 |
Message-ID: | 1141165336.4287.12.camel@evim.gunduz.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-tr-genel |
Merhaba,
On Wed, 2006-03-01 at 00:15 +0200, acemi nix wrote:
> initdb işlemi
>
> /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
>
> gibi yapılıyor ozaman bu tüm veritabanlarını etkilemezmi
Bu haliyle yaparsanız etkiler. Aynı makinede birden fazla veritabanı
clusterinı kontrol edebilirsiniz postmaster ile:
mkdir /usr/local/pgsql/data-tr
/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data-tr
/usr/local/pgsql/data-tr/postgresql.conf dosyasını düzenleyin ve
#listen_addresses = 'localhost'
#port = 5432
değerlerini
listen_addresses = '*'
port = 5433
ile değiştirin (#'in kalktığına dikkat). Sonra,
postmaster -D /usr/local/pgsql/data-tr
ile postmasteri başlatın. Ardından
psql template1 -U postgres -p 5433
ile de yeni clustera bağlanın. Sonra da işlemlerinizi deneyin. Bakalım
ne olacak...
Saygılar.
--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: PL/php, plPerlNG - http://www.commandprompt.com/
From | Date | Subject | |
---|---|---|---|
Next Message | Adnan DURSUN | 2006-02-28 22:46:45 | Re: [pgsql-tr-genel] Re: oid hakkında |
Previous Message | acemi nix | 2006-02-28 22:17:23 | Re: Oracle'dan PostgreSQL'e |