syntax errors in initdb for NT install of pgsql 7.0

Started by Jon Lustigover 25 years ago3 messagesgeneral
Jump to latest
#1Jon Lustig
jlustig@etranslate.com

Many others have posted on this but I have not seen an authoratative answer:

execution of Initdb on NT results in syntax errors - these seem to be
induced by whitespace only on some control command lines (for, case, ???).
I've been correcting them, one-by-one, by adding spaces on the ends of the
lines, for instance. However, been a pretty much shot-in-the-dark approach
and I'd like to know if someone's gotten a decent answer on this one.

Jon Lustig
jlustig@etranslate.com

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Jon Lustig (#1)
Re: syntax errors in initdb for NT install of pgsql 7.0

Jon Lustig writes:

Many others have posted on this but I have not seen an authoratative answer:

execution of Initdb on NT results in syntax errors - these seem to be
induced by whitespace only on some control command lines (for, case, ???).
I've been correcting them, one-by-one, by adding spaces on the ends of the
lines, for instance. However, been a pretty much shot-in-the-dark approach
and I'd like to know if someone's gotten a decent answer on this one.

Unless this is caused by the different end-of-line character convention,
you should show us the actual syntax errors so we can judge them.

--
Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/

#3Jon Lustig
jlustig@etranslate.com
In reply to: Peter Eisentraut (#2)
RE: syntax errors in initdb for NT install of pgsql 7.0

My apologies:

This is the sort of output I'm getting - I added -x as a command option and
threw in the echo line just to get some output. I've been 'fixing' the
syntax errors line-by-line - it all seems to have to do with whitespace, but
I don't think it's a CRLF problem.

----------------------------------------------------------------------------
-------
+
: not found
+ echo Beginning initdb...
Beginning initdb... +
: not found
/usr/local/pgsql/bin/initdb: 144: Syntax error: word unexpected (expecting
")")
----------------------------------------------------------------------------
-------

thanks,
jon lustig

Show quoted text

-----Original Message-----
From: Peter Eisentraut [mailto:peter_e@gmx.net]
Sent: Wednesday, September 20, 2000 10:58 AM
To: Jon Lustig
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] syntax errors in initdb for NT install of pgsql
7.0

Jon Lustig writes:

Many others have posted on this but I have not seen an

authoratative answer:

execution of Initdb on NT results in syntax errors - these seem to be
induced by whitespace only on some control command lines

(for, case, ???).

I've been correcting them, one-by-one, by adding spaces on

the ends of the

lines, for instance. However, been a pretty much

shot-in-the-dark approach

and I'd like to know if someone's gotten a decent answer on this one.

Unless this is caused by the different end-of-line character
convention,
you should show us the actual syntax errors so we can judge them.

--
Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/