Re: How to install latest stable postgresql on Debian

From: "Andrus" <kobruleht2(at)hot(dot)ee>
To: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
Cc: "Adrian Klaver" <adrian(dot)klaver(at)gmail(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to install latest stable postgresql on Debian
Date: 2011-11-20 10:09:18
Message-ID: 773BC2CC9BC44A4E972693A4D68CE60D@dell2
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Scott,

Thank you.

>Just add them to the bottom then run
>sudo sysctl -p
>to make them take effect.

It seems that if this value is greater than RAM, linux kerner silently uses
max possible value.
Linuxes are used mostly to run PostgreSql only but ram may vary depending on
virtual maschine configuration at runtime.
Is it reasonable to use large value, eq. 8GB as SHMMAX in sysctl.conf file
always ?
In this case root and SSH access to server is not required if RAM amount
changes. This simplifies server administration. Only postgresql.conf needs
changed which can be done from 5432 port using pgAdmin.

>btw, the standard way to control rc stuff is update-rc.d Odd name but
>it's pretty easy, just look up the man page.

Debian seems to require update-rc.d and Centos chkconfig
How to use single command for every distro ?

"/etc/init.d/postgresql start" works in all distros. Adding to postgresql to
startup requires different commands in different distros ?!

Andrus

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message hubert depesz lubaczewski 2011-11-20 10:19:15 Re: invalid byte sequence for encoding "UTF8": 0x00
Previous Message John R Pierce 2011-11-20 08:49:16 Re: Installed. Now what?