Re: Can database run a script automatically at start up?

From: Szymon Guz <mabewlun(at)gmail(dot)com>
To: voipfc(at)gmail(dot)com
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Can database run a script automatically at start up?
Date: 2010-08-09 09:36:28
Message-ID: AANLkTinvmcTyXhuEDF1ObGAOYXOvdDvT1mZ8cSxHKo_L@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2010/8/9 Frank Church <voipfc(at)googlemail(dot)com>

> Can PostgresSQL be setup to automtatically run a script at start up?
>
> I need something to run at start up in case the database crashed or
> some programs did not close their databases properly on shutdown.
>
> /voipfc
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

It can't, but you may write a script that will do that and will start the
database, so you won't be starting that normally, but only with this script.

regards
Szymon Guz

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sim Zacks 2010-08-09 10:42:46 pgtune
Previous Message Frank Church 2010-08-09 09:32:34 Can database run a script automatically at start up?