pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
odbc blob
2+ messages / 2 participants
[nested] [flat]

* odbc blob
@ 2000-08-22 14:34 John Thorhauer <jthorhauer@phoenixcolor.com>
  2000-08-22 16:38 ` Re: odbc blob Josh Berkus <josh@agliodbs.com>
  0 siblings, 1 reply; 2+ messages in thread

From: John Thorhauer @ 2000-08-22 14:34 UTC (permalink / raw)
  To: pgsql-interfaces

I am trying to insert a blob into postgres via odbc driver and am
getting the folowing error:

ODBC Driver Manager Invalid String or Buffer Length

Any idea on what I am doing wrong?  I am putting the data into the lo
field with the .appendchunk method using ado.

John
-- 
********************************
** John Thorhauer
** jthorhauer@phoenixcolor.com
********************************



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: odbc blob
  2000-08-22 14:34 odbc blob John Thorhauer <jthorhauer@phoenixcolor.com>
@ 2000-08-22 16:38 ` Josh Berkus <josh@agliodbs.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Josh Berkus @ 2000-08-22 16:38 UTC (permalink / raw)
  To: John Thorhauer <jthorhauer@phoenixcolor.com>; +Cc: pgsql-interfaces

Mr. Thorhauer wrote:

> > Have you tried using DAO instead?  I've had all kinds of funky problems
> > with ADO and ODBC, to the point where I've decided to keep using DAO 3.5
> > until the MDAC team can get their act together.
> >
> 
> Thanks for the advice.  It is much appreciated.  I am writing an
> application mostly in java using jdbc but I need to make sure that this
> one part is accessible via odbc as well.  So I am not very familiar with
> odbc/visual basic but I can stumble through it.
> 
> Anyways,  have you used DAO succesfully with large objects (blobs) in
> postgres?  If so, can you send any quick code examples my way?

Unfortunately, no.  So far, I've only used Postgres for Intranet apps.

					-Josh

-- 
______AGLIO DATABASE SOLUTIONS___________________________
                                        Josh Berkus
   Complete information technology      josh@agliodbs.com
    and data management solutions       (415) 436-9166
   for law firms, small businesses       fax  436-0137
    and non-profit organizations.       pager 338-4078
                        		San Francisco



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2000-08-22 16:38 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-08-22 14:34 odbc blob John Thorhauer <jthorhauer@phoenixcolor.com>
2000-08-22 16:38 ` Josh Berkus <josh@agliodbs.com>

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