Re: Picture with Postgres and Delphi

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: Network Administrator <netadmin(at)vcsn(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Picture with Postgres and Delphi
Date: 2003-09-10 16:38:23
Message-ID: Pine.LNX.4.33.0309101036350.16561-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Well, assuming you can store a reasonable large text file in any database,
you can also look at uuencoding / base-64 encoding as a way of storing
things in the database.

It's more easily ported than either bytea or large objects.

On Wed, 10 Sep 2003, Network Administrator wrote:

> I'd actually like to get some comments on this too because for compatibility and
> throughput issues, I would think that storing the file path in the database
> instead of the actually file would be "better". I've done one application like
> this in the past that very worked well. I'm getting ready to do the final
> e-commerce integration on a new site and if there is an advantage to storing the
> files in the database (in this case about 300 jpeg images for a t-shirt site)
> I'll try that out. I'll have to research that base64 encoding part because I'll
> only every do text dumps.
>
> Keith-
>
> Quoting Jeff Eckermann <jeff_eckermann(at)yahoo(dot)com>:
>
> > --- Jonathan Bartlett <johnnyb(at)eskimo(dot)com> wrote:
> > > I'm a big fan of bytea. In every case where I've
> > > done the filesystem
> > > method I wished I hadn't.
> >
> > For the education of me and maybe others too, why was
> > that? i.e. what problems did you run into, that bytea avoids?
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! SiteBuilder - Free, easy-to-use web site design software
> > http://sitebuilder.yahoo.com
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 8: explain analyze is your friend
> >
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message scott.marlowe 2003-09-10 16:40:07 Re: Picture with Postgres and Delphi
Previous Message Jonathan Bartlett 2003-09-10 16:36:55 Re: Picture with Postgres and Delphi