Re: bytea vs. pg_dump - Mailing list pgsql-hackers

From Andrew Chernow
Subject Re: bytea vs. pg_dump
Date
Msg-id 4A019B5F.6080804@esilo.com
Whole thread Raw
In response to Re: bytea vs. pg_dump  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan wrote:
>>
>> another nit with base64 is that properly encoded data requires
>> newlines according to the standard.
>>   
> 
> er, no, not as I read rfc 3548 s 2.1.
> 
> cheers
> 
> andrew
> 
> 

Why does encode('my text', 'base64') include newlines in its output?  I 
think MIME requires text to be broken into 76 char lines but why does 
encode do this?

-- 
Andrew Chernow
eSilo, LLC
every bit counts
http://www.esilo.com/


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: bytea vs. pg_dump
Next
From: Stephen Frost
Date:
Subject: text_pattern_ops and complex regexps