ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Korshunov Ilya <kosha@Kp.ru>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] PostgreSQL config files
Date: Wed, 29 Jan 2003 19:29:45 +0300
Message-ID: <200301291929.45312.kosha@Kp.ru> (raw)
In-Reply-To: <20030129153840.70bbf68d.grisxa@mail.ru>

В сообщении от 29 Январь 2003 15:38 Grigory Batalov написал:
>   Куда нужно класть конфигурационные файлы от PostgreSQL
> (postgresql.conf, pg_hba.conf) ?
> В разных источниках указано по-разному, а у нас ещё и chroot.
> Что-то никак не найду.

В случае с ALT-chroot'ed

/var/lib/pgsql/data

а вообще-то в $PGDATA/

сделанно это для запуска кучи разных pgsql на одной машине

>
>   И кроме того, для доступа по tcp нужно прописывать в
> /etc/init.d/postgresql "-i"?
>
> daemon /usr/bin/postmaster -i -D $PGDATA -S -r $PG_CHROOT_DIR
>
>   Или это решается более приличным образом?

Решается. См. postgresql.conf 

tcpip_socket = true

-- 
Best Regards
Korshunov Ilya
JID: koshakp@jabber.org


      reply	other threads:[~2003-01-29 16:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-29 12:38 Grigory Batalov
2003-01-29 16:29 ` Korshunov Ilya [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200301291929.45312.kosha@Kp.ru \
    --to=kosha@kp.ru \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git