ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] PostgreSQL config files
@ 2003-01-29 12:38 Grigory Batalov
  2003-01-29 16:29 ` Korshunov Ilya
  0 siblings, 1 reply; 2+ messages in thread
From: Grigory Batalov @ 2003-01-29 12:38 UTC (permalink / raw)
  To: sisyphus

  Куда нужно класть конфигурационные файлы от PostgreSQL
(postgresql.conf, pg_hba.conf) ?
В разных источниках указано по-разному, а у нас ещё и chroot.
Что-то никак не найду.

  И кроме того, для доступа по tcp нужно прописывать в
/etc/init.d/postgresql "-i"?

daemon /usr/bin/postmaster -i -D $PGDATA -S -r $PG_CHROOT_DIR

  Или это решается более приличным образом?

-- 
 Баталов Григорий,
 системный администратор
 ОАО "Ковдорский ГОК"


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [sisyphus] PostgreSQL config files
  2003-01-29 12:38 [sisyphus] PostgreSQL config files Grigory Batalov
@ 2003-01-29 16:29 ` Korshunov Ilya
  0 siblings, 0 replies; 2+ messages in thread
From: Korshunov Ilya @ 2003-01-29 16:29 UTC (permalink / raw)
  To: sisyphus

В сообщении от 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-29 16:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-29 12:38 [sisyphus] PostgreSQL config files Grigory Batalov
2003-01-29 16:29 ` Korshunov Ilya

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