Bytea updation - Mailing list pgsql-performance

From ramasubramanian
Subject Bytea updation
Date
Msg-id 4FA7F4742AD34E6F9D3B080B93808621@ramasubramanian
Whole thread Raw
Responses Re: Bytea updation
L
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: Alex Adriaanse
Date:
Subject: Re: Hosted servers with good DB disk performance?
Next
From: "ramasubramanian"
Date:
Subject: