Insert hex / octal literals in a query?

"S.Bob" <[email protected]> Wed, 11 Dec 2019 21:07:13 -0700
Newsgroups gmane.comp.db.postgresql.admin
Message-ID <[email protected]>
Hi all;


we have a client that needs us to pull data via sql and stage it in a 
file with odd hex / octal characters as the field delimiter (Hex 1F or 
Oct 31)


Is there an easy way to do this ?


Thanks in advance