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

Re: where clause bug

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: kyle <reddwarf91(at)yahoo(dot)com>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: where clause bug
Date: 2001-06-11 14:52:09
Message-ID: Pine.LNX.4.30.0106111651520.756-100000@peter.localdomain (view raw, whole thread or download thread mbox)
Lists: 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(at)gmx(dot)net

In response to


pgsql-bugs by date

Next:From: Stephan SzaboDate: 2001-06-11 14:54:06
Subject: Re: Re(2): REFERENCES fails on derived classes
Previous:From: Peter EisentrautDate: 2001-06-11 14:42:59
Subject: Re: Information regarding foriegn key constraint.

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