xlat expansion of absent VPs

Brian Candler b.candler at pobox.com
Wed Jun 19 00:25:41 CEST 2013


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.



More information about the Freeradius-Devel mailing list