<div dir="ltr">My workaround which was conducive to the database architecture, was use a view that exposes the uuid as text along with other related columns. Then upon insert or update, a rewrite rule casts it back to the uuid type into the actual backing table.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jul 20, 2014 at 9:07 PM, <span dir="ltr"><<a href="mailto:joshua@anwu.org" target="_blank">joshua@anwu.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hey all,<br>
<br>
Anyone know how to get Racket's db to write to a uuid column in Postgres? I keep getting "unsupported type". The documentation suggests casting as a workaround, but the example is a select - I doubt that will work as well for an insert...?<br>
<br>
<br>
Thanks,<br>
joshua<br>
____________________<br>
Racket Users list:<br>
<a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
</blockquote></div><br></div>