From: "ramasubramanian" <ramasubramanian(dot)g(at)renaissance-it(dot)com>
To: <pgsql-performance(at)postgresql(dot)org>, <simon(at)2ndquadrant(dot)com>
Subject:
Date: 2009-05-27 06:41:30
Message-ID: 942DD17E035043718F333EA5B6BE2917@ramasubramanian
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-performance by date

  From Date Subject
Next Message ramasubramanian 2009-05-27 06:42:07 Bytea updation
Previous Message Alex Adriaanse 2009-05-27 05:12:48 Re: Hosted servers with good DB disk performance?