Thread: Problem to increase name data length

Problem to increase name data length

From
"Jerome Chochon"
Date:
Hi all.

I am a french student working in a computer science lab in France. (http://=
www.lisi.ensma.fr)
Actually we use postgresql with Cygwin interface.
We use PostgreSQL 7.3.2.
We want to increaze namedatalen 64 to 128 or 256.
So ...=20
1- I open the file postgre_ext.h. (and save)
2- Run /.configure
3- Run make and make install
4- Copy the pq.dll file
5- launch my /.bashrc and ipc-daemon
and then run initdb -d (in order to see which error stop my process)

and I have this error.
ERROR: getBaseType: failed to lookup type 312

When I back to 64 and do the same processus. Initdb run correctly.
When I try with 32, initdb stop at the same step.

Can some one help me, please ?

Thanks for your reply.

Best regards.

J=E9r=F4me CHOCHON

Re: Problem to increase name data length

From
Tom Lane
Date:
"Jerome Chochon" <jerome.chochon@ensma.fr> writes:
> 1- I open the file postgre_ext.h. (and save)
> 2- Run /.configure
> 3- Run make and make install

Try a "make distclean" before you configure.  I think you've got object
files that aren't getting rebuilt.

            regards, tom lane