18 Jun
2013
18 Jun
'13
6:25 p.m.
On 18/06/2013 11:07, Phil Mayers wrote:
On 06/18/2013 07:27 AM, Brian Candler wrote:
Aside: I think Postgres will reject a quoted string being used in an integer context.
Not correct:
db=> create temp table tt (val integer); CREATE TABLE db=> insert into tt values ('1'); INSERT 0 1
OK, thanks (I don't have a pg instance to hand). I was thinking of something slightly different I dug up a while back. With mysql: select 0 = 'RandomToken' returns 1 (true) postgres correctly rejects this.