============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name : Randy Mann
Your email address : randy213@hotmail.com

Category : install: other
Severity : non-critical

Summary: Syntax error while doing initdb

System Configuration
--------------------
Operating System : Red Hat Linux Release 5.2 (Apollo)

PostgreSQL version : 6.4.2

Compiler used : gcc

Hardware:
---------
Pentium, 32 Mb RAM

Versions of other tools:
------------------------
make

--------------------------------------------------------------------------

Problem Description:
--------------------
When I run initdb, an error comes as
syntax error 2305 : parse error.

[postgres@oak postgres]$ initdb
initdb: using /usr/local/pgsql/lib/local1_template1.bki.source as input to creat
e the template database.
initdb: using /usr/local/pgsql/lib/global1.bki.source as input to create the glo
bal classes.
initdb: using /usr/local/pgsql/lib/pg_hba.conf.sample as the host-based authenti
cation control file.

We are initializing the database system with username postgres (uid=100).
This user will own all the files and must also own the server process.

Creating Postgres database system directory /usr/local/pgsql/data

Creating Postgres database system directory /usr/local/pgsql/data/base

initdb: creating template database in /usr/local/pgsql/data/base/template1
Running: postgres -boot -C -F -D/usr/local/pgsql/data -Q template1
syntax error 2305 : parse error
Creating global classes in /base
Running: postgres -boot -C -F -D/usr/local/pgsql/data -Q template1

Adding template1 database to pg_database...
Running: postgres -boot -C -F -D/usr/local/pgsql/data -Q template1 < /tmp/create
.15280
ERROR: pg_atoi: error in "template1": can't parse "template1"
ERROR: pg_atoi: error in "template1": can't parse "template1"
initdb: could not log template database
initdb: cleaning up.
[postgres@oak postgres]$



--------------------------------------------------------------------------

Test Case:
----------


--------------------------------------------------------------------------

Solution:
---------


--------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppgsql-ports @
categoriespostgresql
postedFeb 16, '99 at 6:54p
activeFeb 16, '99 at 6:54p
posts1
users1
websitepostgresql.org
irc#postgresql

1 user in discussion

Randy Mann: 1 post

People

Translate

site design / logo © 2022 Grokbase