7.1.3 with source NAMEDATALEN change fails name regression - Mailing list pgsql-ports

From David De Graff
Subject 7.1.3 with source NAMEDATALEN change fails name regression
Date
Msg-id 006b01c17719$e7ca7f20$4e5ba940@Bensf382
Whole thread Raw
Responses Re: 7.1.3 with source NAMEDATALEN change fails name regression
List pgsql-ports
Tom,
 
The installation on my Solaris 2.6 box includes one change to source code that seems to make Postgresql fail the name regression test.
 
The change is for a line in file /src/include/postgres_ext.h
 
from #define NAMEDATALEN 32
 
to #define NAMEDATALEN 64
(A php application that I'm planning to run needs this change.)
 
When I initially got Postgres to configure and compile I was operating on a cleanly unpacked archive on which I had forgotten to make this change. This initial installation passed all regression tests.
 
I then remembered the needed source code edit, wiped the installation and started afresh. The build went cleanly this time but the name regression test failed. This isn't completely out of left field given the change, but I need to know
a) if it is a significant failure and
b) if it should fail. If not, is this a bug in the source or the test?
 
 
 
It looks like my build is returning some longer strings than the expect result. This could be OK if the test depends on the standard value for NAMEDATALEN, and the larger value in my build causes longer strings to be returned. I also noticed that the 'f1' result text is typically three  characters to the right of its position in the expected text.
 
A quick read of the src/test/regress/README file doesn't shed light on this issue, nor does a search of the pgsql-general archives.
 
Actually, the more I look at the diffs file, the more this looks like a data validation-like failure appropriate to the source code edit. In other words, harmless. Confirmation or any other info would be much appreciated.
 
Thanks for any help,
 
David De Graff

pgsql-ports by date:

Previous
From: "David De Graff"
Date:
Subject: Re: 7.1.3 configure failure on Solaris 2.6
Next
From: "David De Graff"
Date:
Subject: Re: 7.1.3 configure failure on Solaris 2.6