[HACKERS] Random make check failures

2001-03-25 Thread Steve Nicolai


I'm seeing random failures in the parallel tests run by
"make check".  Sometimes (40% or so) all tests will succeed.
The rest of the time, I will get one or more failures.

The specific failures are connection failures:

! psql: connectDBStart() -- connect() failed: Connection refused
!   Is the postmaster running locally
!   and accepting connections on Unix socket '/tmp/.s.PGSQL.65432'?

I tried running pg_regress with --debug to see if it would
shed some light on the matter.  I didn't see anything in the
output indicating what was failing on the backend.

I'm running on Solaris 8, with the 2nd update installed.

I'm new to postgresql, could someone with some experience give
me a few pointers on tracking this one down?

Steve Nicolai


---(end of broadcast)---
TIP 6: Have you searched our list archives?

http://www.postgresql.org/search.mpl



[HACKERS] Build problem and patch with Sun cc

2001-03-24 Thread Steve Nicolai


I did a cvs pull of the head on 3/24/01 and used Sun's cc
compiler 5.0 (with all patches as of 2/1/01) to build.

I ran into a problem building pg_backup_null.c rev 1.5.
The following patch lets me build:

Index: src/bin/pg_dump/pg_backup_null.c
===
RCS file: 
/home/projects/pgsql/cvsroot/pgsql/src/bin/pg_dump/pg_backup_null.c,v
retrieving revision 1.5
diff -u -r1.5 pg_backup_null.c
--- src/bin/pg_dump/pg_backup_null.c2001/03/22 04:00:13 1.5
+++ src/bin/pg_dump/pg_backup_null.c2001/03/24 22:00:07
@@ -98,7 +98,7 @@
 static void
 _PrintTocData(ArchiveHandle *AH, TocEntry *te, RestoreOptions *ropt)
 {
-   if (*te-dataDumper)
+   if (te-dataDumper)
{
AH-currToc = te;
   (*te-dataDumper) ((Archive *) AH, te-oid, te-dataDumperArg);

Sun's cc complains that *te-dataDumper is not a scalar type.

Steve Nicolai 


---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html