The current snapshot won't initdb, because running 
information_schema.sql fails.
The two occurences of "WHERE u.usesysid = ANY( g.grolist )" are the 
problem. Replacing the ANY clause with some dummy will let everything 
run ok.

select usename from pg_user, pg_group where usesysid = ANY (grolist)
will yield ERROR: syntaxt error at or near "grolist", so I believe that 
the ANY(ARRAY) support is broken.

Regards,
Andreas


Tue, 22 Jul 2003 19:30:05 +0200
Andreas Pflug <pgadmin@pse-consulting.de>
initdb fails: problem with array?
Andreas Pflug wrote:
> The current snapshot won't initdb, because running 
> information_schema.sql fails.
> The two occurences of "WHERE u.usesysid = ANY( g.grolist )" are the 
> problem. Replacing the ANY clause with some dummy will let everything 
> run ok.
> 
> select usename from pg_user, pg_group where usesysid = ANY (grolist)
> will yield ERROR: syntaxt error at or near "grolist", so I believe that 
> the ANY(ARRAY) support is broken.
> 

I'm not seeing any problems with a fresh copy of cvs from 15 minutes 
after you posted. Are you still having the problem?

Joe


Tue, 22 Jul 2003 14:48:14 -0700
Joe Conway <mail@joeconway.com>
Re: initdb fails: problem with array?
Joe Conway wrote:

> Andreas Pflug wrote:
>
>> The current snapshot won't initdb, because running 
>> information_schema.sql fails.
>> The two occurences of "WHERE u.usesysid = ANY( g.grolist )" are the 
>> problem. Replacing the ANY clause with some dummy will let everything 
>> run ok.
>>
>> select usename from pg_user, pg_group where usesysid = ANY (grolist)
>> will yield ERROR: syntaxt error at or near "grolist", so I believe 
>> that the ANY(ARRAY) support is broken.
>>
>
> I'm not seeing any problems with a fresh copy of cvs from 15 minutes 
> after you posted. Are you still having the problem?
>
I just checked out (at the moment hba.c changed, so I had to redo it), 
make clean, make, pgsql stop, make install, pgsql start and it's still 
there.

Regards,
Andreas


Wed, 23 Jul 2003 00:17:19 +0200
Andreas Pflug <pgadmin@pse-consulting.de>
Re: initdb fails: problem with array?
Andreas Pflug <pgadmin@pse-consulting.de> writes:
> I just checked out (at the moment hba.c changed, so I had to redo it), 
> make clean, make, pgsql stop, make install, pgsql start and it's still 
> there.

It works fine for me too.  Try removing 
src/backend/parser/gram.c and src/backend/parser/parse.h
to force bison to get re-run when you build.

			regards, tom lane

Tue, 22 Jul 2003 19:22:35 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: initdb fails: problem with array? 
Tom Lane wrote:

>Andreas Pflug <pgadmin@pse-consulting.de> writes:
>  
>
>>I just checked out (at the moment hba.c changed, so I had to redo it), 
>>make clean, make, pgsql stop, make install, pgsql start and it's still 
>>there.
>>    
>>
>
>It works fine for me too.  Try removing 
>src/backend/parser/gram.c and src/backend/parser/parse.h
>to force bison to get re-run when you build.
>
>  
>

Thanks Tom,

rerunning bison did the job.

Regards,
Andreas


Wed, 23 Jul 2003 01:39:42 +0200
Andreas Pflug <pgadmin@pse-consulting.de>
Re: initdb fails: problem with array?