Re: Error: "Out of memory while reading tuples." in pushing table from SAS to PostgreSQL on Mac

From: Andy Colson <andy(at)squeakycode(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Error: "Out of memory while reading tuples." in pushing table from SAS to PostgreSQL on Mac
Date: 2014-12-14 16:08:37
Message-ID: 548DB605.9030309@squeakycode.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>
> Ah! That would explain it.
>
> Welp, this search was more helpful: "Out of memory while reading tuples"
>
> http://stackoverflow.com/questions/22532149/vba-and-postgresql-connection
>
> It says: include UseDeclareFetch=1 in connect string, which sounds like its part of odbc. How does SAS connect to PG?
>
> -Andy
>

Here is another reference that describes the same problem:

https://social.msdn.microsoft.com/Forums/sqlserver/en-US/4498d4f2-9646-4921-b56d-79e22c14a215/import-data-from-postgresql-into-sql-server-2005

The answer (very bottom) is to set the "use declare/fetch" option in psqlODBC driver options.

-Andy

In response to

Browse pgsql-general by date

  From Date Subject
Next Message wetter wetterana 2014-12-14 16:14:00 Re: Error: "Out of memory while reading tuples." in pushing table from SAS to PostgreSQL on Mac
Previous Message Andy Colson 2014-12-14 16:00:48 Re: Error: "Out of memory while reading tuples." in pushing table from SAS to PostgreSQL on Mac