Problem to increase name data length

Started by Jerome Chochonalmost 22 years ago2 messagesbugs
Jump to latest
#1Jerome Chochon
jerome.chochon@ensma.fr

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 ...
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érôme CHOCHON

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Jerome Chochon (#1)
Re: Problem to increase name data length

"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