Skip site navigation (1) Skip section navigation (2)

Re: [PORTS] Port Bug Report: Regexp does not allow alternation in CHECK clause

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Raphael Finkel <raphael(at)cs(dot)uky(dot)edu>
Cc: pgsql-ports(at)postgreSQL(dot)org
Subject: Re: [PORTS] Port Bug Report: Regexp does not allow alternation in CHECK clause
Date: 1999-05-10 16:44:38
Message-ID: 199905101644.MAA07698@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-ports
Added to TODO list.



> 
> ============================================================================
>                         POSTGRESQL BUG REPORT TEMPLATE
> ============================================================================
> 
> 
> Your name               : Raphael Finkel
> Your email address      : raphael(at)cs(dot)uky(dot)edu
> 
> Category                : runtime: back-end: SQL
> Severity                : non-critical
> 
> Summary: Regexp does not allow alternation in CHECK clause
> 
> System Configuration
> --------------------
>   Operating System   : Linux 2.0.36 ELF Slackware
> 
>   PostgreSQL version : 6.4.2
> 
>   Compiler used      : egcs-2.90.29egcs-2.90.29
> 
> Hardware:
> ---------
> Linux zonker 2.0.36 #2 Sun Jan 10 17:51:07 EST 1999 i686 unknown
> 
> 
> 
> Versions of other tools:
> ------------------------
> 
> 
> --------------------------------------------------------------------------
> 
> Problem Description:
> --------------------
> I can SELECT ... WHERE col ~ '(foo|bar)', but if I 
> put a CHECK clause on a CREATE TABLE with the same
> expression, the check always fails.
> 
> --------------------------------------------------------------------------
> 
> Test Case:
> ----------
> 
> 
> --------------------------------------------------------------------------
> 
> Solution:
> ---------
> 
> 
> --------------------------------------------------------------------------
> 
> 
> 


-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist(at)candle(dot)pha(dot)pa(dot)us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

pgsql-ports by date

Next:From: Bruce MomjianDate: 1999-05-10 17:22:04
Subject: Re: [PORTS] Port Bug Report: Query processing seems broken
Previous:From: Bruce MomjianDate: 1999-05-10 16:08:53
Subject: Re: [PORTS] UnixWare 7 patches for current CVS code.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group