Re: Start-scripts linux
Bruce, please see the mail that I send few days before to HACKERS
explaining that linux startup script does not work correctly with "restart"
option. Maybe this is the right time to fix it.
Yes, it is my fault that I did not make patch, but I send the correction to
"HACKERS".
Regards !
----- Original Message -----
From: "Bruce Momjian" <pgman@candle.pha.pa.us>
To: "Slawomir Sudnik" <slawek@icpnet.pl>
Cc: "PostgreSQL-patches" <pgsql-patches@postgresql.org>
Sent: Monday, June 02, 2003 3:47 PM
Subject: Re: [PATCHES] Start-scripts linux
Your patch has been added to the PostgreSQL unapplied patches list at:
http://momjian.postgresql.org/cgi-bin/pgpatches
I will try to apply it within the next 48 hours.
--------------------------------------------------------------------------
-
Slawomir Sudnik wrote:
Hi,
this trivial patch adding option "reload".
Regards,
Slawek
Index: linux =================================================================== RCS file: /projects/cvsroot/pgsql-server/contrib/start-scripts/linux,v retrieving revision 1.3 diff -r1.3 linux 84a85,89reload)
echo -n "Reload PostgreSQL: "
su - $PGUSER -c "$DAEMON reload -D '$PGDATA' -s"
echo "ok"
;;87c92
< echo "Usage: $0 {start|stop|restart|status}" 1>&2
---echo "Usage: $0 {start|stop|restart|status|reload}" 1>&2
--------------------------------------------
Slawomir Sudnik e-mail:slawek@icpnet.pl
---------------------------------------------- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania
19073
Show quoted text
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
Import Notes
Reference msg id not found: 200306021347.h52DlP420276@candle.pha.pa.us
Your patch has been added to the PostgreSQL unapplied patches list at:
http://momjian.postgresql.org/cgi-bin/pgpatches
I will try to apply it within the next 48 hours.
---------------------------------------------------------------------------
Slawomir Sudnik wrote:
Hi,
this trivial patch adding option "reload".
Regards,
Slawek
Index: linux =================================================================== RCS file: /projects/cvsroot/pgsql-server/contrib/start-scripts/linux,v retrieving revision 1.3 diff -r1.3 linux 84a85,89reload)
echo -n "Reload PostgreSQL: "
su - $PGUSER -c "$DAEMON reload -D '$PGDATA' -s"
echo "ok"
;;87c92
< echo "Usage: $0 {start|stop|restart|status}" 1>&2
---echo "Usage: $0 {start|stop|restart|status|reload}" 1>&2
--------------------------------------------
Slawomir Sudnik e-mail:slawek@icpnet.pl
--------------------------------------------
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
Import Notes
Reply to msg id not found: 1703.217.99.124.104.1052696713.squirrel@poczta.icpnet.pl | Resolved by subject fallback
Got it and will merge the two. Thanks.
---------------------------------------------------------------------------
Darko Prenosil wrote:
Bruce, please see the mail that I send few days before to HACKERS
explaining that linux startup script does not work correctly with "restart"
option. Maybe this is the right time to fix it.
Yes, it is my fault that I did not make patch, but I send the correction to
"HACKERS".
Regards !----- Original Message -----
From: "Bruce Momjian" <pgman@candle.pha.pa.us>
To: "Slawomir Sudnik" <slawek@icpnet.pl>
Cc: "PostgreSQL-patches" <pgsql-patches@postgresql.org>
Sent: Monday, June 02, 2003 3:47 PM
Subject: Re: [PATCHES] Start-scripts linuxYour patch has been added to the PostgreSQL unapplied patches list at:
http://momjian.postgresql.org/cgi-bin/pgpatches
I will try to apply it within the next 48 hours.
--------------------------------------------------------------------------
-
Slawomir Sudnik wrote:
Hi,
this trivial patch adding option "reload".
Regards,
Slawek
Index: linux =================================================================== RCS file: /projects/cvsroot/pgsql-server/contrib/start-scripts/linux,v retrieving revision 1.3 diff -r1.3 linux 84a85,89reload)
echo -n "Reload PostgreSQL: "
su - $PGUSER -c "$DAEMON reload -D '$PGDATA' -s"
echo "ok"
;;87c92
< echo "Usage: $0 {start|stop|restart|status}" 1>&2
---echo "Usage: $0 {start|stop|restart|status|reload}" 1>&2
--------------------------------------------
Slawomir Sudnik e-mail:slawek@icpnet.pl
---------------------------------------------- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania19073
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
Patch applied. Thanks.
---------------------------------------------------------------------------
Slawomir Sudnik wrote:
Hi,
this trivial patch adding option "reload".
Regards,
Slawek
Index: linux =================================================================== RCS file: /projects/cvsroot/pgsql-server/contrib/start-scripts/linux,v retrieving revision 1.3 diff -r1.3 linux 84a85,89reload)
echo -n "Reload PostgreSQL: "
su - $PGUSER -c "$DAEMON reload -D '$PGDATA' -s"
echo "ok"
;;87c92
< echo "Usage: $0 {start|stop|restart|status}" 1>&2
---echo "Usage: $0 {start|stop|restart|status|reload}" 1>&2
--------------------------------------------
Slawomir Sudnik e-mail:slawek@icpnet.pl
--------------------------------------------
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
Import Notes
Reply to msg id not found: 1703.217.99.124.104.1052696713.squirrel@poczta.icpnet.pl | Resolved by subject fallback