Mercurial > urweb
view tests/aborter2.ur @ 1428:58c9c039582a
Deal with Postgres's wonky type-changing for nullable columns of views
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Fri, 25 Feb 2011 15:46:29 -0500 |
parents | 7009b0ac1501 |
children |
line wrap: on
line source
table t : { X : int } fun main () : transaction page = v <- query (SELECT * FROM t) (fn r (_ : int) => return (error <xml>Shot down!</xml>)) 0; return <xml>Result: {[v]}</xml>