From: Tom Lane <tgl@sss.pgh.pa.us>
To: jez.wain@bull.net
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6760: make check fails on strings SQL T581 regex test
Date: Wed, 25 Jul 2012 13:10:15 -0400
Message-ID: <29371.1343236215@sss.pgh.pa.us> (raw)
In-Reply-To: <E1StytD-0005g0-NX@wrigleys.postgresql.org>
References: <E1StytD-0005g0-NX@wrigleys.postgresql.org>
jez.wain@bull.net writes:
> ***************
> *** 347,354 ****
> three | f1 | exp_ln_f1
> -------+----------------------+-----------------------
> | 1004.3 | 1004.3
> ! | 1.2345678901234e+200 | 1.23456789012338e+200
> ! | 1.2345678901234e-200 | 1.23456789012339e-200
> (3 rows)
> -- cube root
> --- 347,354 ----
> three | f1 | exp_ln_f1
> -------+----------------------+-----------------------
> | 1004.3 | 1004.3
> ! | 1.2345678901234e+200 | 1.23456789012337e+200
> ! | 1.2345678901234e-200 | 1.2345678901234e-200
> (3 rows)
This doesn't seem terribly surprising as a platform-specific difference.
> -- T581 regular expression substring (with SQL99's bizarre regexp syntax)
> SELECT SUBSTRING('abcdefg' FROM 'a#"(b_d)#"%' FOR '#') AS "bcd";
> ! ERROR: invalid regular expression: parentheses () not balanced
> ! CONTEXT: SQL function "substring" statement 1
This however isn't too good. It suggests a platform-specific issue in
the regex library, but hard to say what. Can you dig a little deeper,
maybe get a stack trace back from the call to errfinish()? Does
compiling with -O0 change the behavior?
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, jez.wain@bull.net
Subject: Re: BUG #6760: make check fails on strings SQL T581 regex test
In-Reply-To: <29371.1343236215@sss.pgh.pa.us>
References: <E1StytD-0005g0-NX@wrigleys.postgresql.org> <29371.1343236215@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox