- Mailing list pgsql-performance

From ramasubramanian
Subject
Date
Msg-id 942DD17E035043718F333EA5B6BE2917@ramasubramanian
Whole thread Raw
List pgsql-performance
Dear Friends,
    How to insert or update a file in a table using the query in postgres
CREATE TABLE excel_file_upload
(
  user_id integer,
  excel_file bytea
}
 
example
insert into excel_file_upload values(1,file1)
 
file1 can be any file *.doc,*.xls
    How i can do this(with out using java or any other language) using query?
Please help me out
 
Regards,
Ram

pgsql-performance by date:

Previous
From: "ramasubramanian"
Date:
Subject: Bytea updation
Next
From: Dimitri Fontaine
Date:
Subject: Re: Hosted servers with good DB disk performance?