Skip site navigation (1) Skip section navigation (2)

Re: Help: Change the SQL query length

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Marcos Cruz <Marcos(dot)Cruz(at)iti(dot)gov(dot)br>
Cc: pgsql-general(at)postgreSQL(dot)org, pgsql-odbc(at)postgreSQL(dot)org
Subject: Re: Help: Change the SQL query length
Date: 2001-05-11 15:57:07
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-generalpgsql-odbc
Marcos Cruz <Marcos(dot)Cruz(at)iti(dot)gov(dot)br> writes:
> I'm changing a database from Access'97 to PostgreSQL 7.1.1 and
> found a query limit when a I have large text field into the SQL
> insert.

> The returned msg is like " query too long, length > 8191 octets"

Hm, I notice

#define TEXT_FIELD_SIZE             8190        /* size of text fields
                                                 * (not including null
                                                 * term) */

in src/interfaces/odbc/psqlodbc.h ... does changing that help?

			regards, tom lane

In response to


pgsql-odbc by date

Next:From: kapil c. tilwaniDate: 2001-05-11 17:59:36
Subject: Re: RE: RE: ODBC and Access 2000
Previous:From: Ludek FinstrleDate: 2001-05-11 13:57:25
Subject: Re: Case sensitivity

pgsql-general by date

Next:From: Joel BurtonDate: 2001-05-11 16:00:18
Subject: Re: Upcoming PostgreSQL seminars
Previous:From: Tim BarnardDate: 2001-05-11 15:51:05
Subject: Re: Newbie HOWTO

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group