agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: drunken <manuzi1@hotmail.com>
To: pgsql-sql@postgresql.org
Subject: [C#] File Upload to PostgreSQL
Date: Wed, 1 Jul 2015 01:10:50 -0700 (MST)
Message-ID: <1435738250344-5856051.post@n5.nabble.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>

Hello,

I am Marc from GB.

I have a problem, i cannot upload a file to my PostgreSQL Database.

I don't find the command what I have to use.
I have tried:

fileUpload.PostedFile.SaveAs(....)

Lets say I have the DB on the Server on 8.8.8.8 the DB is called "test" and
the table "upload" has an ID, name, timeupload and file.
The file is a bytea type. Is this correct?
How is the path called?

Best Regards



--
View this message in context: http://postgresql.nabble.com/C-File-Upload-to-PostgreSQL-tp5856051.html
Sent from the PostgreSQL - sql mailing list archive at Nabble.com.


-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql



view thread (2+ messages)  latest in thread

Message-ID: <1435738250344-5856051.post@n5.nabble.com>
Permalink:  ../1435738250344-5856051.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1435738250344-5856051.post@n5.nabble.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: manuzi1@hotmail.com
  Subject: Re: [C#] File Upload to PostgreSQL
  In-Reply-To: <1435738250344-5856051.post@n5.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox