dbTalk Databases Forums  

[BUGS] BUG #6411: Backend process' crash when a foreign table is used in adependent subquery on select clause

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #6411: Backend process' crash when a foreign table is used in adependent subquery on select clause in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
emre.hasegeli@tart.com.tr
 
Posts: n/a

Default [BUGS] BUG #6411: Backend process' crash when a foreign table is used in adependent subquery on select clause - 01-26-2012 , 06:46 AM






The following bug has been logged on the website:

Bug reference: 6411
Logged by: Using a Foreign Table in a Dependent Subquery
Email address: emre.hasegeli (AT) tart (DOT) com.tr
PostgreSQL version: 9.1.2
Operating system: Linux 3.0.0-14-generic #23-Ubuntu SMP Mon Nov 21 2
Description:

I installed Dave Page's MySQL Foreign Data Wrapper on GitHub [1]. It works
fine until foreign table is used in a dependent subquery on select clause.

How to reproduce:

Create extension mysql_fdw;

Create server AMySQLServer
foreign data wrapper mysql_fdw
options (address '***', port '3306');

Create user mapping for public
server AMySQLServer
options (username '***', password '***');

Create foreign table AForeignTable (id integer) server AMySQLServer options
(query 'Select id from ASchema.ATable');

Select id, (select true from AForeignTable where AForeignTable.id =
ATable.id) from ATable;

WARNING: 57P02: terminating connection because of crash of another server
process
DETAIL: The postmaster has commanded this server process to roll back the
current transaction and exit, because another server process exited
abnormally and possibly corrupted shared memory.
HINT: In a moment you should be able to reconnect to the database and
repeat your command.

[1] https://github.com/dpage/mysql_fdw



--
Sent via pgsql-bugs mailing list (pgsql-bugs (AT) postgresql (DOT) org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.