Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gCnZc-0006GI-7D for pgsql-general@arkaria.postgresql.org; Wed, 17 Oct 2018 15:17:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gCnZZ-0002gO-M7 for pgsql-general@arkaria.postgresql.org; Wed, 17 Oct 2018 15:17:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gCnZZ-0002g8-4E for pgsql-general@lists.postgresql.org; Wed, 17 Oct 2018 15:17:21 +0000 Received: from sonic314-13.consmr.mail.bf2.yahoo.com ([74.6.132.123]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gCnZW-0002tU-6d for pgsql-general@lists.postgresql.org; Wed, 17 Oct 2018 15:17:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1539789436; bh=HZNCi3qhXCcgMsv55p94W71hsv4Vgxzo3DI84AC5cmE=; h=From:Subject:Date:References:To:In-Reply-To:From:Subject; b=JTT6rbwDNzCU3i5Y2WC5Uk2EWZGIDa5QHIgWwEddnt3ES0Y5hkvV30bKKxVxiMLWx7X1ncMpCZnODJm6MWFKXyb9DQhLK/NtPChkTYKPU3INQ09SVJGWczB8T5r+YVAkexepeHAR1bGhe8LovNspU2so4KP7RuBYI/w7GSn7bWnwENjiDmHVmyxDbEQQ0nd/LweUaznAEKKiR97scMfAznjQWA3c9/TIgL597YppOFaS0q6miQY4KnT91VKV4smKYpbILhUVVoZy3gRJjNmbfktMycoTH9L6eMi9BAyHvRwgKm4xhPlyRGvB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g DBpmPAZ51dsexpbkew8NR2hNU6UPU.ile9Rki3kKq7cOnJY6bmPz7hhA- Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.bf2.yahoo.com with HTTP; Wed, 17 Oct 2018 15:17:15 +0000 Received: from 104.129.194.210 (EHLO [192.168.1.18]) ([104.129.194.210]) by smtp403.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID b415a02b73d6cb7cb938609f7e30ec68 for ; Wed, 17 Oct 2018 15:17:13 +0000 (UTC) From: Ravi Krishna Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: postgres server process crashes when using odbc_fdw Date: Wed, 17 Oct 2018 11:17:11 -0400 References: <1FEA4DD2-7B6A-4444-A4FD-C7B03E96BBB6@aol.com> <39636FD1-D9F8-4BEF-B692-D604EF5FF1E2@aol.com> To: "pgsql-generallists.postgresql.org" In-Reply-To: <39636FD1-D9F8-4BEF-B692-D604EF5FF1E2@aol.com> Message-Id: <203483C5-DEE0-48D2-A254-6154BF53AFE0@aol.com> X-Mailer: Apple Mail (2.3445.9.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk It turned out that enabling ODBC trace was causing PG to crash. Once = disabled it started working, but found another issue. All object names in DB2 is assumed to be upper case. odbc_fdw sends = queries like this select "fld1","fld2" from "schema_name"."table_name". So the foreign table in PG has to created in upper case within quotes. = It is bit of an annoyance.