From: | Jan Wieck <JanWieck(at)Yahoo(dot)com> |
---|---|
To: | Randall Perry <rgp(at)systame(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Text data type doesn't accept newlines? |
Date: | 2001-06-05 16:15:27 |
Message-ID: | 200106051615.f55GFR902068@jupiter.us.greatbridge.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Randall Perry wrote:
> I have a logging database that logs errors. The error messages contain
> newlines. Pgsql doesn't accept them on insert in a text data field.
>
> MySQL has the 'blob' data type which does accept newlines.
>
> Do I have to convert all newlines to '\n' to use them in Pgsql?
I don't see a reason why it shouldn't accept them, and the
last time I stuffed html pages into via libpgtcl it worked
IIRC.
What interface does your client use?
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2001-06-05 16:59:57 | Re: Re: Updating views |
Previous Message | Jan Wieck | 2001-06-05 16:12:16 | Re: Function RETURNS SETOF ??? |