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

where clause bug

From: kyle <reddwarf91(at)yahoo(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: where clause bug
Date: 2001-06-08 21:54:50
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
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.

Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!


pgsql-bugs by date

Next:From: Rony KhouryDate: 2001-06-09 21:24:17
Subject: Re: furiously yours
Previous:From: Tom LaneDate: 2001-06-08 21:51:38
Subject: Re: Apparent deadlock for simultaneous sequential scans

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