pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedMax LongVarChar
4+ messages / 4 participants
[nested] [flat]
* Max LongVarChar
@ 2002-12-16 16:53 Bruce Holt <bj_holt@hotmail.com>
2002-12-17 00:31 ` Re: Max LongVarChar Hiroshi Inoue <Inoue@tpf.co.jp>
0 siblings, 1 reply; 4+ messages in thread
From: Bruce Holt @ 2002-12-16 16:53 UTC (permalink / raw)
To: pgsql-odbc
What is the maximum value for 'Max LongVarChar' within the ODBC Advanced
Options (DSN 1/2) dialog box? What affect does this setting have on
performance?
I have a field of type 'text' that will usually contain less that the
default 8190 characters specified in the ODBC setting. Occasionally, this
field will need to store text that could exceed a couple megabytes in size.
Thanks,
Bruce Holt
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Max LongVarChar
2002-12-16 16:53 Max LongVarChar Bruce Holt <bj_holt@hotmail.com>
@ 2002-12-17 00:31 ` Hiroshi Inoue <Inoue@tpf.co.jp>
0 siblings, 0 replies; 4+ messages in thread
From: Hiroshi Inoue @ 2002-12-17 00:31 UTC (permalink / raw)
To: Bruce Holt <bj_holt@hotmail.com>; +Cc: pgsql-odbc
Bruce Holt wrote:
>
> What is the maximum value for 'Max LongVarChar' within the
> ODBC Advanced Options (DSN 1/2) dialog box?
There's no max value because the driver itself doesn't
provide any buffer beforehand with the MaxLongVarChar size.
However, most applications seem to have their own text
size limitations.
> What affect does this setting have on
> performance?
It depends on your application. If your application
binds a text item with the MaxLongVarChar sized buffer
,it may unnecessarily consume a large memory.
regards,
Hiroshi Inoue
http://w2422.nsk.ne.jp/~inoue/
^ permalink raw reply [nested|flat] 4+ messages in thread
* Max LongVarChar
@ 2006-04-19 16:24 Sistemas C.M.P. <sistemascmp@redynet4.com.ar>
2006-04-20 06:50 ` Re: Max LongVarChar Thomas Chabaud <tc@geosys.com>
0 siblings, 1 reply; 4+ messages in thread
From: Sistemas C.M.P. @ 2006-04-19 16:24 UTC (permalink / raw)
To: pgsql-odbc
I need to know how to spcyfy the parameter MaxLongVarchar in a Visual Basic connect string
Iám using string like this
driver={PostgreSQL};server=(ServerName);uid=(username);database=(databaseName)
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Max LongVarChar
2006-04-19 16:24 Max LongVarChar Sistemas C.M.P. <sistemascmp@redynet4.com.ar>
@ 2006-04-20 06:50 ` Thomas Chabaud <tc@geosys.com>
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Chabaud @ 2006-04-20 06:50 UTC (permalink / raw)
To: ; +Cc: pgsql-odbc
Sistemas C.M.P. a écrit :
> I need to know how to spcyfy the parameter */MaxLongVarchar/* in a
> Visual Basic connect string
> Iám using string like this
>
> *driver={PostgreSQL};server/=(ServerName);/uid/=(username);/database=(/databaseName)/*
Try to append "MAXLONGVARCHARSIZE=yourvalue;" to your VB connection string
driver={PostgreSQL};server/=(ServerName);/uid/=(username);/database=(/databaseName)/*;MAXLONGVARCHARSIZE=yourvalue;
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2006-04-20 06:50 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-12-16 16:53 Max LongVarChar Bruce Holt <bj_holt@hotmail.com>
2002-12-17 00:31 ` Hiroshi Inoue <Inoue@tpf.co.jp>
2006-04-19 16:24 Max LongVarChar Sistemas C.M.P. <sistemascmp@redynet4.com.ar>
2006-04-20 06:50 ` Thomas Chabaud <tc@geosys.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