pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #5925: Files corrupted
2+ messages / 2 participants
[nested] [flat]
* BUG #5925: Files corrupted
@ 2011-03-11 12:06 Castro <flashed@iol.pt>
0 siblings, 1 reply; 2+ messages in thread
From: Castro @ 2011-03-11 12:06 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged online:
Bug reference: 5925
Logged by: Castro
Email address: flashed@iol.pt
PostgreSQL version: 9.0
Operating system: Windows Server 2003
Description: Files corrupted
Details:
I change Postgresql v8.4 to v9. Before that i bakup all databases. After
Postgresql v9 installed i restore the backup. One of the database has a
table that contains files(pdf, png, etc...).
When i tryed to open this files, the windows give me a error "File
corrupt".
Can u help with this error, why the change of postgresql to version 9
corrupted the files?
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #5925: Files corrupted
@ 2011-03-11 15:04 Alvaro Herrera <alvherre@commandprompt.com>
parent: Castro <flashed@iol.pt>
0 siblings, 0 replies; 2+ messages in thread
From: Alvaro Herrera @ 2011-03-11 15:04 UTC (permalink / raw)
To: Castro <flashed@iol.pt>; +Cc: pgsql-bugs
Excerpts from Castro's message of vie mar 11 09:06:00 -0300 2011:
>
> The following bug has been logged online:
>
> Bug reference: 5925
> Logged by: Castro
> Email address: flashed@iol.pt
> PostgreSQL version: 9.0
> Operating system: Windows Server 2003
> Description: Files corrupted
> Details:
>
> I change Postgresql v8.4 to v9. Before that i bakup all databases. After
> Postgresql v9 installed i restore the backup. One of the database has a
> table that contains files(pdf, png, etc...).
>
> When i tryed to open this files, the windows give me a error "File
> corrupt".
>
> Can u help with this error, why the change of postgresql to version 9
> corrupted the files?
I think you're being bitten by the bytea_output change. Try setting
that to "escape" in postgresql.conf. If that works, look it up in the
manual so that you can figure out what's the best long-term solution.
--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2011-03-11 15:04 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-03-11 12:06 BUG #5925: Files corrupted Castro <flashed@iol.pt>
2011-03-11 15:04 ` Alvaro Herrera <alvherre@commandprompt.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox