Re: where clause bug - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: where clause bug
Date
Msg-id Pine.LNX.4.30.0106111651520.756-100000@peter.localdomain
Whole thread Raw
In response to where clause bug  (kyle <reddwarf91@yahoo.com>)
Responses Re: where clause bug
List pgsql-bugs
kyle writes:

> When specifying criteria in a where claue such as
> user_id = 'value' if a non-numeric is entered the
> query returns back all rows.
> user_id = user_id brings back every user_id instead of
> error because user_id is a numeric field and it
> shouldnt be able to accept chars.

Reproduceable test case please.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter

pgsql-bugs by date:

Previous
From: Kemin Zhou
Date:
Subject: C++ interface
Next
From: Peter Eisentraut
Date:
Subject: Re: Information regarding foriegn key constraint.