Re: [BUGS] 8.0: Absolute path required for INITDB?

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Josh Berkus <josh(at)agliodbs(dot)com>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [BUGS] 8.0: Absolute path required for INITDB?
Date: 2004-08-16 16:34:34
Message-ID: 4120E21A.3010105@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-patches

Tom Lane wrote:

>Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
>
>
>>Rather I would ask why we changed the
>>description-loading routine in version 1.7 of initdb.c to use a copy
>>from file instead of what happens everywhere else where initdb loads the
>>file and feeds it to the postgres stdin?
>>
>>
>
>That was to avoid a Windows-only newline problem. Don't complain too
>hard.
>
>

Well, I've tried to fix every newline problem I've come across - I
wasn't aware of this one.

>You are in any case missing the point: -L is a useless switch and there
>is no reason to make it easy to use. (I don't think I have ever once
>had occasion to use it in all the years I've worked on Postgres, and I
>have certainly run initdb in orders-of-magnitude more contexts than any
>ordinary user would.) If I have to waste any more time on this
>discussion, I will propose solving the problem by removing the switch
>entirely.
>
>
>
>
Sorry - I don't read -bugs so I haven't followed the discussion.

Removing it makes more sense to me, frankly.

cheers

andrew

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message mallah 2004-08-16 17:32:53 postgresql 8.0b1 observations.
Previous Message Bruce Momjian 2004-08-16 16:23:47 Re: [BUGS] 8.0: Absolute path required for INITDB?

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-08-16 16:34:54 Re: PQserverVersion
Previous Message Bruce Momjian 2004-08-16 16:23:47 Re: [BUGS] 8.0: Absolute path required for INITDB?