On Mon, 14 Sep 1998, Thomas G. Lockhart wrote:
> Date: Mon, 14 Sep 1998 01:38:54 +0000
> From: "Thomas G. Lockhart" <lockhart@alumni.caltech.edu>
> To: Oleg Bartunov <oleg@sai.msu.su>
> Cc: pgsql-hackers@postgreSQL.org
> Subject: Re: [HACKERS] AbortTransaction and not in in-progress state
>
> > > I see a small problem in running VACUUM ANALYZE on the regression
> > > database which involves an entry in pg_operator left over from the
> > > char16 datatype. If the line containing "1004" is removed and the
> > > system is "make clean install; initdb"'d then vacuum completes
> > > successfully on that database.
> > Also, vacuum analyze; on regression database produces
> > regression-> vacuum analyze;
> > ERROR: type id lookup of 1004 failed
> > I don't know which file I need to edit as you suggested :-)
>
> Oh, sorry. src/include/catalog/pg_operator.h is the one to change. I've
> already made the change to the development cvs tree, so you could check
> out the newest code.
>
Great, checked cvs tree and vacuum analyze works fine on regression database
as well on my test database !
BUT !!!
I just notice, that when I start postmaster from my script i used to
run postgres in production vacuum analyze on my test database produces
the same error as before ! And just checked it fails and on regression
database !
After playing with options I found this happens with -B 1024 !!!
I don't understand why this fails but 6.3.2 works just fine .
Regards,
Oleg
Below is my script:
6:12[dv]:~postgres>cat runpostgres
#!/bin/sh
# remove postgres lock if it was left on the system
if [ -S /tmp/.s.PGSQL.5432 ]; then
/bin/rm -f /tmp/.s.PGSQL.5432
fi
export LC_CTYPE=koi8-r
export LC_COLLATE=koi8-r
/usr/local/pgsql/bin/postmaster -i -B 1024 -S -D/usr/local/pgsql/data/ -o '-Fe'
> I haven't had a chance to try your test case yet. Let me know how the
> regression test goes and then I'll look at your test if you would still
> like me to...
>
> - Tom
>
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83