Re: encoding question - Mailing list pgsql-hackers

From Rod Taylor
Subject Re: encoding question
Date
Msg-id 1060220784.4036.1.camel@jester
Whole thread Raw
In response to encoding question  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-hackers
> My other question is we play around with bytea fields to escape nulls and
> chars < 32 and stuff so that when someone browses the table, they get
> '\000<unknown>\000...', etc.  However, are the other field types for which
> we have to do this?  Can you put nulls and stuff in text/varchar/char
> fields?  What about other fields?

pg_escape_string
pg_escape_bytea

Escape everything :)

pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: test beta build
Next
From: Robert Creager
Date:
Subject: 7.4 Beta1: variable not found in subplan target lists