Blob Upload - Mailing list pgsql-sql

From Aristeu Gil Alves Junior
Subject Blob Upload
Date
Msg-id 00a801c053bc$033d9b20$aa14b0c8@caras
Whole thread Raw
Responses Re: Blob Upload
List pgsql-sql
I´m trying  to upload a gif image from a web interface (apache/php) without
success.
I´m using the input type ="file".
Have someone already made this work?

And even when I try to upload from the SQL interface of Tkl PgAccess... :
The table:
CREATE TABLE    images (name VARCHAR[30] , img OID);

SQL Command
INSERT INTO images (name, img) VALUES (´img01.gif´ ,
lo_import(´/images/test.gif´) );

....it brings up the error:
ERROR: array_in: Need to specify dimension

Any help will be of great value.
Thanks to all.

Best Regards
****************************************************
Aristeu Gil Alves Junior<arisjr@terra.com.br>
IT Analyst
Porto Alegre/RS - Brasil
****************************************************
"Communications without intelligence is noise;
Intelligence without communications is irrelevant."
Gen. Alfred. M. Gray, USMC



pgsql-sql by date:

Previous
From: Colleen Williams
Date:
Subject: Persistent Connects (pg_pconnect)
Next
From: Keith Wong
Date:
Subject: Re: Persistent Connects (pg_pconnect)