From: | John DeSoi <desoi(at)pgedit(dot)com> |
---|---|
To: | Alain Roger <raf(dot)news(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: issue when export/import table including pictures |
Date: | 2007-04-18 15:12:27 |
Message-ID: | B625DA61-90FB-4F44-B874-372D0A6134D8@pgedit.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Try importing your file using psql. Once you have that working, it
might help you understand why it is failing with phppgadmin. I
thought phppgadmin used pg_restore to restore files. Does pg_restore
really work on SQL files, or just binary files? I don't recall offhand.
John
On Apr 15, 2007, at 3:33 AM, Alain Roger wrote:
> As i did not get any answer yesterday i'm asking it again.
> I have a table with pictures stored as bytea field.
> I'm able to export them from my database hosted by my web supplier.
> However, when i try to import them to my local database, i get 2
> types of error message (based on how i import them)
>
> 1. if import is done by SQL -> run SQL script in phppgadmin : error
> message is " No server supplied!"
> 2. if import is done by Import function from a table in
> phppgadmin : error message is "Import error: File could not be
> uploaded to the server"
John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL
From | Date | Subject | |
---|---|---|---|
Next Message | Francisco Reyes | 2007-04-18 15:19:42 | Disadvantages on having too many page slots? |
Previous Message | Gary Winslow | 2007-04-18 14:02:35 | Re: Postgres Crash Running PLPGSQL Function on 8.2.3 |