Re: Brittleness in regression test setup

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Brittleness in regression test setup
Date: 2008-11-25 15:17:05
Message-ID: 492C16F1.20105@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> One thing we should do is have pg_regress.c, not the Makefile,
> select the default port to use. The concatenate-5 behavior is
> just not intelligent enough.

How about something like this, constructing a port number from the
version and a timestamp? We could also take 2 more bits from the
version and give it to the timestamp, which would make this a bit safer,
I think.

Attachment Content-Type Size
pgregress-port-number.diff text/plain 4.7 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2008-11-25 15:17:57 Re: Comments to Synchronous replication patch v3
Previous Message Fujii Masao 2008-11-25 15:03:36 New trigger file in pg_standby to promote the standby to the primary