Search Postgresql Archives

Re: question about /etc/init.d/postgresql in PGDG

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2009-08-19 at 00:01 -0600, Scott Marlowe wrote:
> In the init script from the PGDG rpms there's this block of code:
> 
> PGDATA=/var/lib/pgsql/data
> 
> if [ -f "$PGDATA/PG_VERSION" ] && [ -d "$PGDATA/base/template1" ]
> then
>         echo "Using old-style directory structure"
> else
>         PGDATA=/var/lib/pgsql/data
> fi
> 
> Is it just me, or is the else extra noise? 

I haven't bothered to remove it (call me lazy). I will remove it in the
upcoming sets. Thanks.

Regards,
-- 
Devrim GÜNDÜZ, RHCE
Command Prompt - http://www.CommandPrompt.com 
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
                   http://www.gunduz.org

Attachment: signature.asc
Description: This is a digitally signed message part


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux