tds-fdw / tds_fdw

A PostgreSQL foreign data wrapper to connect to TDS databases (Sybase and Microsoft SQL Server)
Other
377 stars 101 forks source link

Segmentation fault when selecting from a SQL server view with large number of records #256

Open isurunix opened 4 years ago

isurunix commented 4 years ago

We are experiencing a seg fault when selecting data from a foreign table created from a VIEW on the SQL server. This happens only when the query is executed multiple times within a short period of time.
The query is a simple select query similar to

SELECT field1 as f1, field2 as f2 .... from FORIEGN_TABLE WHERE FOREIGN_TABLE.field1 = 'value'

PostgreSQL version: 10.12 tds_fdw version : 2.0.1