pg_ctl

This is a multi-part message in MIME format.

------=_NextPart_000_0009_01CB80D9.206EEC30
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hallo,



nachdem ich die pg_hba.conf geändert hatte, habe ich mich auf die =
suche
gemacht, um herauszufinden, wie man postgresql dazu bekommt die =
änderungen
ohne neustart (also ohne disconnect der user) realisieren kann.

Dabei stieß ich auf folgende lösung:



1. Postgres User: su =96 postgres
2. Make Changes: vi /var/lib/pgsql/data/pg_hba.conf
3. Reload Configs: pg_ctl reload -D /var/lib/pgsql/data/

Quelle:
http://www.question-defense.com/2008/09/30/make-pg_hbaconf-c hanges-activa=
te-
without-restarting-postgres



Ich musste allerdings festellen, dass meine postgresql-9.0 installation =
gar
kein pg_ctl mit sich bringt.

Gibt es eine andere möglicht mein vorhaben zu realisieren, oder muss =
ich die
pg_ctl nutzen und woher würde ich sie bekommen?

Problem: mein db-rechner hat keinen internetzugang, ich muss die *.deb =
files
manuell einspielen.



Viele grüße



hubert




------=_NextPart_000_0009_01CB80D9.206EEC30
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
[at] font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
[at] font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
..MsoChpDefault
{mso-style-type:export-only;}
[at] page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>

<body lang=3DDE link=3Dblue vlink=3Dpurple>

<div class=3DWordSection1>

<p class=3DMsoNormal>Hallo,<o:p></o:p></p>

<p class=3DMsoNormal><o:p> </o:p></p>

<p class=3DMsoNormal>nachdem ich die pg_hba.conf geändert hatte, habe =
ich mich
auf die suche gemacht, um herauszufinden, wie man postgresql dazu =
bekommt die
änderungen ohne neustart (also ohne disconnect der user) realisieren =
kann.<o:p></o:p></p>

<p class=3DMsoNormal>Dabei stieß ich auf folgende =
lösung:<o:p></o:p></p>

<p class=3DMsoNormal><o:p> </o:p></p>

<p><strong><span lang=3DEN-US>1.</span></strong><span lang=3DEN-US> =
Postgres User:
su – postgres<br>
<strong>2.</strong> Make Changes: vi /var/lib/pgsql/data/pg_hba.conf<br>
<strong>3.</strong> Reload Configs: pg_ctl reload -D =
/var/lib/pgsql/data/<o:p></o:p></span></p>

<p class=3DMsoNormal>Quelle: <a
href=3D"http://www.question-defense.com/2008/09/30/make-pg_h baconf-change=
s-activate-without-restarting-postgres">http://www.question- defense.com/2=
008/09/30/make-pg_hbaconf-changes-activate-without-restartin g-postgres</a=
><o:p></o:p></p>

<p class=3DMsoNormal><o:p> </o:p></p>

<p class=3DMsoNormal>Ich musste allerdings festellen, dass meine =
postgresql-9.0
installation gar kein pg_ctl mit sich bringt.<o:p></o:p></p>

<p class=3DMsoNormal>Gibt es eine andere möglicht mein vorhaben zu =
realisieren,
oder muss ich die pg_ctl nutzen und woher würde ich sie =
bekommen?<o:p></o:p></p>

<p class=3DMsoNormal>Problem: mein db-rechner hat keinen internetzugang, =
ich muss
die *.deb files manuell einspielen.<o:p></o:p></p>

<p class=3DMsoNormal><o:p> </o:p></p>

<p class=3DMsoNormal>Viele grüße<o:p></o:p></p>

<p class=3DMsoNormal><o:p> </o:p></p>

<p class=3DMsoNormal>hubert<o:p></o:p></p>

<p class=3DMsoNormal><o:p> </o:p></p>

</div>

</body>

</html>

------=_NextPart_000_0009_01CB80D9.206EEC30--
Hubert Hupe [ Mi, 10 November 2010 13:13 ] [ ID #2050237 ]

Re: pg_ctl

Hallo,

ein

kill -HUP <pid des Hauptprozesses>

tut es auch

Gruss
Thomas


Am 10.11.2010 13:13, schrieb Hubert Hupe:
> Hallo,
>
>
>
> nachdem ich die pg_hba.conf ge=C3=A4ndert hatte, habe ich mich auf die =
suche
> gemacht, um herauszufinden, wie man postgresql dazu bekommt die =C3=A4n=
derungen
> ohne neustart (also ohne disconnect der user) realisieren kann.
>
> Dabei stie=C3=9F ich auf folgende l=C3=B6sung:
>
>
>
> 1. Postgres User: su =E2=80=93 postgres
> 2. Make Changes: vi /var/lib/pgsql/data/pg_hba.conf
> 3. Reload Configs: pg_ctl reload -D /var/lib/pgsql/data/
>
> Quelle:
> http://www.question-defense.com/2008/09/30/make-pg_hbaconf-c hanges-acti=
vate-
> without-restarting-postgres
>
>
>
> Ich musste allerdings festellen, dass meine postgresql-9.0 installation=
gar
> kein pg_ctl mit sich bringt.
>
> Gibt es eine andere m=C3=B6glicht mein vorhaben zu realisieren, oder mu=
ss ich die
> pg_ctl nutzen und woher w=C3=BCrde ich sie bekommen?
>
> Problem: mein db-rechner hat keinen internetzugang, ich muss die *.deb =
files
> manuell einspielen.
>
>
>
> Viele gr=C3=BC=C3=9Fe
>
>
>
> hubert
>
>
>


--
Sent via pgsql-de-allgemein mailing list (pgsql-de-allgemein [at] postgresql.o=
rg)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-de-allgemein
Thomas Markus [ Mi, 10 November 2010 13:34 ] [ ID #2050238 ]

Re: pg_ctl

hallo,

auch kein pg_ctl unter /usr/lib/postgresql/9.0/bin/ ?

grüße
christian

Am 10. November 2010 13:13 schrieb Hubert Hupe <hubert_hupe [at] gmx.de>:
> Hallo,
>
>
>
> nachdem ich die pg_hba.conf geändert hatte, habe ich mich auf die suche
> gemacht, um herauszufinden, wie man postgresql dazu bekommt die änderun=
gen
> ohne neustart (also ohne disconnect der user) realisieren kann.
>
> Dabei stieß ich auf folgende lösung:
>
>
>
> 1. Postgres User: su =96 postgres
> 2. Make Changes: vi /var/lib/pgsql/data/pg_hba.conf
> 3. Reload Configs: pg_ctl reload -D /var/lib/pgsql/data/
>
> Quelle:
> http://www.question-defense.com/2008/09/30/make-pg_hbaconf-c hanges-activa=
te-without-restarting-postgres
>
>
>
> Ich musste allerdings festellen, dass meine postgresql-9.0 installation g=
ar
> kein pg_ctl mit sich bringt.
>
> Gibt es eine andere möglicht mein vorhaben zu realisieren, oder muss ic=
h die
> pg_ctl nutzen und woher würde ich sie bekommen?
>
> Problem: mein db-rechner hat keinen internetzugang, ich muss die *.deb fi=
les
> manuell einspielen.
>
>
>
> Viele grüße
>
>
>
> hubert
>
>

--
Sent via pgsql-de-allgemein mailing list (pgsql-de-allgemein [at] postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-de-allgemein
ch.guertler [ Mi, 10 November 2010 14:01 ] [ ID #2050239 ]

Re: pg_ctl

--Apple-Mail-2--289422649
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=iso-8859-1


On Nov 10, 2010, at 13:13 , Hubert Hupe wrote:

> Ich musste allerdings festellen, dass meine postgresql-9.0 =
installation gar kein pg_ctl mit sich bringt.
> Gibt es eine andere möglicht mein vorhaben zu realisieren, oder muss =
ich die pg_ctl nutzen und woher würde ich sie bekommen?
> Problem: mein db-rechner hat keinen internetzugang, ich muss die *.deb =
files manuell einspielen.

Bei Debian-basierten Distros heisst das Tool pg_ctlcluster und ist im =
Paket postgresql-common dabei.

lg,
Michael


--Apple-Mail-2--289422649
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=iso-8859-1

<html><head><base href=3D"x-msg://98/"></head><body style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; "><br><div><div>On Nov 10, 2010, at 13:13 , Hubert =
Hupe wrote:</div><br><blockquote type=3D"cite"><span =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
font-family: Helvetica; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; =
widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; =
-webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
lang=3D"DE" link=3D"blue" vlink=3D"purple"><div class=3D"WordSection1" =
style=3D"page: WordSection1; "><div style=3D"margin-right: 0cm; =
margin-left: 0cm; font-size: 11pt; font-family: Calibri, sans-serif; =
margin-top: 0cm; margin-bottom: 0.0001pt; ">Ich musste allerdings =
festellen, dass meine postgresql-9.0 installation gar kein pg_ctl mit =
sich bringt.<o:p></o:p></div><div style=3D"margin-right: 0cm; =
margin-left: 0cm; font-size: 11pt; font-family: Calibri, sans-serif; =
margin-top: 0cm; margin-bottom: 0.0001pt; ">Gibt es eine andere möglicht=
mein vorhaben zu realisieren, oder muss ich die pg_ctl nutzen und woher =
würde ich sie bekommen?<o:p></o:p></div><div style=3D"margin-right: =
0cm; margin-left: 0cm; font-size: 11pt; font-family: Calibri, =
sans-serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">Problem: mein =
db-rechner hat keinen internetzugang, ich muss die *.deb files manuell =
einspielen.<o:p></o:p></div></div></div></span></blockquote><br></div><div=
>Bei Debian-basierten Distros heisst das Tool pg_ctlcluster und ist im =
Paket postgresql-common =
dabei.</div><div><br></div><div>lg,</div><div>Michael</div><br></body></ht=
ml>=

--Apple-Mail-2--289422649--
Michael Renner [ Mi, 10 November 2010 16:28 ] [ ID #2050240 ]
Datenbanken » gmane.comp.db.postgresql.german » pg_ctl

Vorheriges Thema: == Wöchentlicher PostgreSQL Newsletter - 07. November 2010 ==
Nächstes Thema: regexp_matches () in WHERE-Bedingung verwenden