Re: setseed accepts bad seeds - Mailing list pgsql-bugs

From Kris Jurka
Subject Re: setseed accepts bad seeds
Date
Msg-id Pine.BSO.4.64.0803100212500.24272@leary.csoft.net
Whole thread Raw
In response to Re: setseed accepts bad seeds  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: setseed accepts bad seeds
List pgsql-bugs
On Mon, 10 Mar 2008, Tom Lane wrote:

> I'd be inclined to leave the mapping alone and just insert a warning
> (or hard error) for inputs outside the range -1 to 1.
>

Here's a patch that errors out for out of range values.

Kris Jurka

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: setseed accepts bad seeds
Next
From: "mohit"
Date:
Subject: Help needed in Solving the problem in pg_restore