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

* ByteA as LO parameter
@ 2007-03-02 16:48  mengel@notes.cc.sunysb.edu
  0 siblings, 1 reply; 2+ messages in thread

From: mengel@notes.cc.sunysb.edu @ 2007-03-02 16:48 UTC (permalink / raw)
  To: pgsql-odbc

I've been trying to set the Bytea as LO parameter programmatically via VB. 
 I can't seem to get it right.  Has anyone done this?  What's the name of 
the parameter?  I've tried ByteaAsLongVarBinary, but that was purely a 
guess.  I found it in the registry.  Needless to say it didn't work.  Any 
thoughts?

Thanks,
Matthew Engel
Senior Programmer/Analyst
State University of New York at Stony Brook
mengel@notes.cc.sunysb.edu

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

* Re: ByteA as LO parameter
@ 2007-03-02 22:51  Hiroshi Inoue <inoue@tpf.co.jp>
  parent: mengel@notes.cc.sunysb.edu
  0 siblings, 0 replies; 2+ messages in thread

From: Hiroshi Inoue @ 2007-03-02 22:51 UTC (permalink / raw)
  To: mengel@notes.cc.sunysb.edu; +Cc: pgsql-odbc

mengel@notes.cc.sunysb.edu wrote:

 > I've been trying to set the Bytea as LO parameter programmatically 
via VB.  I can't seem to get it right.  Has anyone done this?
 > What's the name of the parameter?  I've tried ByteaAsLongVarBinary, 
but that was purely a guess.  I found it in the registry.  Needless to 
say it didn't work.  Any thoughts?

Please add  ByteaAsLongVarBinary=1  to your connection string.

regards,
Hiroshi Inoue



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


end of thread, other threads:[~2007-03-02 22:51 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-03-02 16:48 ByteA as LO parameter mengel@notes.cc.sunysb.edu
2007-03-02 22:51 ` Hiroshi Inoue <inoue@tpf.co.jp>

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