How to convert a PostgreSQL UUID to bytea Dec 7, 2014 I recently needed to convert a PostgreSQL UUID to bytea, and couldn't find any quick one-liners on the web. So here it is, for your enjoyment: Please enable JavaScript to view the comments powered by Disqus. ← Newer Post Older Post →