Thread: Recent initdb error

Recent initdb error

From
Rod Taylor
Date:
setting privileges on built-in objects... ok
creating information schema... sed: 1: "s/^[0-9]*\.[0-9]*\.\([0 ...":
undefined label 'L;s/.*/0000/;q;: L;s/.*\(....\)$/\1/'
ok
vacuuming database template1... ok


Seems to have appeared with the changes for the SQL_FEATURES table.


The below works: micro_version=`echo $VERSION | sed
's/^[0-9]*\.[0-9]*\.\([0-9]*\).*/0000\1/;t LABEL
s/.*/0000/;q
:LABEL
s/.*\(....\)$/\1/'`


For some reason my sed isn't liking the semicolons.


--
Rod Taylor <rbt@rbt.ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

Re: Recent initdb error

From
Peter Eisentraut
Date:
Rod Taylor writes:

> setting privileges on built-in objects... ok
> creating information schema... sed: 1: "s/^[0-9]*\.[0-9]*\.\([0 ...":
> undefined label 'L;s/.*/0000/;q;: L;s/.*\(....\)$/\1/'
> ok
> vacuuming database template1... ok

Fixed.  Consider filing a bug report with your operating system.

-- 
Peter Eisentraut   peter_e@gmx.net