Search Postgresql Archives

problem casting varchar to inet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



select cast(coalesce(nullif('', trim(callingip)), '127.0.0.1') as inet)

ERROR:  invalid input syntax for type inet: ""

    what is it trying to tell me?

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE.             http://bash.org/?255991

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux