ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/bioseg/trunk/bioseg.c
(Generate patch)
# Line 294 | Line 294
294      return NULL;
295    }
296  
297 +  if (lower < MIN_LOWER) {
298 +    ereport(ERROR,
299 +            (errcode(ERRCODE_SYNTAX_ERROR),
300 +             errmsg("bad bioseg representation"),
301 +             errdetail("lower bound (%ld) must be >= %ld",
302 +                       long_result, MIN_LOWER)));
303 +    return 0;
304 +  }
305 +  
306    result->lower = lower;
307    result->upper = upper;
308  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines