Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fDd04-0006Wv-Cy for pgsql-odbc@arkaria.postgresql.org; Tue, 01 May 2018 21:39:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fDd02-0007Tt-Vm for pgsql-odbc@arkaria.postgresql.org; Tue, 01 May 2018 21:39:50 +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 1fDd01-0007Td-En for pgsql-odbc@lists.postgresql.org; Tue, 01 May 2018 21:39:50 +0000 Received: from sonic307-23.consmr.mail.sg3.yahoo.com ([106.10.241.40]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fDczx-0000gw-C8 for pgsql-odbc@postgresql.org; Tue, 01 May 2018 21:39:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1525210779; bh=8Te8X4vGjKbXkA9eVAIibzRP68o8Pn/qzolB2K+8xJA=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From:Subject; b=ozYBCOP5CGmAEWsR4P9wanyvQk1MZdKwqhy2D07dXSr7bLdPwo01nDqQE9AcYoOKudBussGM88SKZUMGPBCI7Q7pdPuWtE3q6nnnpbCJy/Wk242XuAntcXBIORf+3Vckg+Dd5l3LCkfe5CjlZr4I+vKL7n/HWfBfS1HfByRsJnHpRVqt/vVsCi5yLJ1/vQKXhBsxS1QafifW8aPsM3i9MrL0niLwm+Nucv6bhMaqanp/3y3cqgPmaQecOmCnvu3t2VrIbbkie9zzqrpzeG9TfSs065NEI4lU2lWxgHr5K5DrbXqMjdBQ5WeejeehYVrzU/2QL5savZcFuGF15ilh+Q== X-YMail-OSG: mH9yWw8VM1nKe.YTj2xdZg5laqL7NRDh.MdPrcblLGdA4IPBAE15vmKy9Vj_cq_ kiwFhgolKLIewOWbj_Ks0BjocQIXhsrtASb3eeJHQSyVuA2VCgDgh._y09AZnp_wBUBgZBnTiwiA gyezMxrLPPXy.lAb43eoulLJ4ees9rY1AS7ZOfQCrjHfOFUHifJp5DbFiNw4Mwh5cu16CJmgn.m9 iW91rDw9BwrhV0ClULB8IBWnIvMTK_x_9uZf.M_3IdFDWq8Kc.yYg2nZhZBL8GpxWbwNHMSkQM3J 4nArpiE7M8PnxRqOlDcQGF.SdT92cWdlXpNTPy1IBzihxUNR5EidZIaI164uQPMpX.qpI6ktFdGb mUpbb1hG320VcYUNdUV7SRrjo1uBIcxDkUgWWh44cOCRGqjHVBGK6dUjU1eJW2qy_Bga3S8c0vC2 6x8uJOTJWf5YeyBkF12OcicWcGkLNuRYhylb4Q_2QJ4tYF8SQqoxjLz12F_1LYCfas63C.8MqREH 8wXLXrr9RI5o8atpkhWl3xvaMU.jAgRplOvNeTQNjDeUC4NO62ZjB2pggfvUu47cJXAoh_hICpao t2fjagC8.vHtaJLprZWcfSf3eORzPljZhE7bQEbMR572j2YcbGg-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.sg3.yahoo.com with HTTP; Tue, 1 May 2018 21:39:39 +0000 Date: Tue, 1 May 2018 21:39:35 +0000 (UTC) From: Mahesh Kansara To: "Inoue, Hiroshi" Cc: "pgsql-odbc@postgresql.org" Message-ID: <336817412.2790095.1525210775116@mail.yahoo.com> In-Reply-To: References: <1441476371.947853.1524712577982.ref@mail.yahoo.com> <1441476371.947853.1524712577982@mail.yahoo.com> <54026c40-5df5-3136-c041-b41fc2010934@dream.email.ne.jp> <953223482.1307948.1524779498993@mail.yahoo.com> <4af88a1b-c4a5-3cf9-7f23-5f46e4631535@dream.email.ne.jp> <635799638.1700455.1524848555899@mail.yahoo.com> <141404539.2553946.1525130781751@mail.yahoo.com> Subject: Re: PostgreSQL 10 Partition Tables: Support through PG Driver MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2790094_166511917.1525210775110" X-Mailer: WebService/1.1.11819 YMailNorrin Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36 Content-Length: 22355 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_2790094_166511917.1525210775110 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello Hiroshi, Thanks for reply. It would be good if I can have .so binary. Thanks,Mahesh Kansara On Monday, 30 April, 2018, 9:41:16 PM GMT-7, Inoue= , Hiroshi wrote: =20 =20 =20 Hi Mahesh, =20 On 2018/05/01 8:26, Mahesh Kansara wrote: =20 Hello Hiroshi,=20 I hope you are doing well. Would you be able to give me test drivers for = linux OS ?=20 =20 =20 Unfortunately I am not even a Linux user. Do you expect a .so binay or e.g. a .deb package? =20 regards, Hiroshi Inoue =20 =20 Thanks, Mahesh Kansara=20 On Friday, 27 April, 2018, 10:02:35 AM GMT-7, Mahesh Kansara wrote: =20 =20 Hello Hiroshi,=20 Thanks for reply, I am using Linux ,x86_64 x86_64 x86_64 GNU/Linux. It wo= uld be great help if you can give me test drivers.=20 Thanks, Mahesh Kansara=20 On Thursday, 26 April, 2018, 8:43:01 PM GMT-7, Inoue, Hiroshi wrote: =20 =20 Hi Mahesh, =20 On 2018/04/27 6:51, Mahesh Kansara wrote: =20 Hello Hiroshi,=20 Thanks for reply, Is there any web link where I can follow up or check an= d use new driver when available ? =20 =20 What kind of OS are you using? If you are using Windows, I can provide test drivers. =20 regards, Hiroshi Inoue=20 =20 =20 =20 Thanks, Mahesh K=20 On Thursday, 26 April, 2018, 2:47:40 PM GMT-7, Inoue, Hiroshi wrote: =20 =20 Hi Mahesh, =20 On 2018/04/26 12:16, Mahesh Kansara wrote: =20 Hello Team,=20 My name is Mahesh and I am working with one application where we are con= necting with PostgreSQL 10 database using PostgreSQL driver.=C2=A0=20 Application is basically trying to get list of tables from target but no= t returning Partition tables information.=C2=A0 The query which PostgreSQL = driver is generating is below.=20 select relname, nspname, relkind from pg_catalog.pg_class c, pg_catal= og.pg_namespace n where relkind in ('r', 'v') and nspname like 'myschema'= and relname like 'mytable' and nspname not in ('pg_catalog','information_= schema', 'pg_toast', 'pg_temp_1') and n.oid =3D relnamespace order by nspn= ame, relname=20 If I run this query directly on target it doesn't list partition table.= If i change this query to something like below it works.=20 select relname, nspname, relkind from pg_catalog.pg_class c, pg_catalog.= pg_namespace n where relkind in ('r', 'v', 'p') and nspname like 'myschem= a' and relname like 'mytable' and nspname not in ('pg_catalog','informati= on_schema', 'pg_toast', 'pg_temp_1') and n.oid =3D relnamespace order by n= spname, relname =20 =20 I would take care of this issue. =20 Thanks. Hiroshi Inoue=20 =20 =20 =20 I was looking at latest PostgreSQL driver=C2=A0=C2=A0psqlodbc-10.02.0000= I am not seeing any code file which returns partition=C2=A0table. =20 Can you please share some more information on how to get partition table= s using PostgreSQL driver.=20 Please let me know if you need more information.=C2=A0=20 Thanks, Mahesh K =20 =20 =20 =20 ------=_Part_2790094_166511917.1525210775110 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Hello Hiroshi,

Thanks for reply.

It would be good if I can have .so binary.

Thanks,
Mahesh Kansara
On Monday, 30 April, 2018, 9:41:16 PM GMT-7, Inoue, Hiroshi <h-inoue@dream.email.ne.jp> wrote:



Hi Mahesh,

On 2018/05/01 8:26, Mahesh Kansara wrote:
Hello Hiroshi,

I hope you are doing well. Would you be able to give me test drivers for linux OS ?


Unfortunately I am not even a Linux user.
Do you expect a .so binay or e.g. a .deb package?

regards,
Hiroshi Inoue


Thanks,
Mahesh Kansara

On Friday, 27 April, 2018, 10:02:35 AM GMT-7, Mahesh Kansara <mahesh_kansara@yahoo.com> wrote:


Hello Hiroshi,

Thanks for reply, I am using Linux ,x86_64 x86_64 x86_64 GNU/Linux. It would be great help if you can give me test drivers.

Thanks,
Mahesh Kansara

On Thursday, 26 April, 2018, 8:43:01 PM GMT-7, Inoue, Hiroshi <h-inoue@dream.email.ne.jp> wrote:


Hi Mahesh,

On 2018/04/27 6:51, Mahesh Kansara wrote:
Hello Hiroshi,

Thanks for reply, Is there any web link where I can follow up or check and use new driver when available ?

What kind of OS are you using?
If you are using Windows, I can provide test drivers.

regards,
Hiroshi Inoue



Thanks,
Mahesh K

On Thursday, 26 April, 2018, 2:47:40 PM GMT-7, Inoue, Hiroshi <h-inoue@dream.email.ne.jp> wrote:


Hi Mahesh,

On 2018/04/26 12:16, Mahesh Kansara wrote:
Hello Team,

My name is Mahesh and I am working with one application where we are connecting with PostgreSQL 10 database using PostgreSQL driver. 

Application is basically trying to get list of tables from target but not returning Partition tables information.  The query which PostgreSQL driver is generating is below.

select relname, nspname, relkind from pg_catalog.pg_class c, pg_catalog.pg_namespace n where relkind in ('r', 'v') and nspname like 'myschema' and relname like 'mytable' and nspname not in ('pg_catalog', 'information_schema', 'pg_toast', 'pg_temp_1') and n.oid = relnamespace order by nspname, relname

If I run this query directly on target it doesn't list partition table. If i change this query to something like below it works.

select relname, nspname, relkind from pg_catalog.pg_class c, pg_catalog.pg_namespace n where relkind in ('r', 'v', 'p') and nspname like 'myschema' and relname like 'mytable' and nspname not in ('pg_catalog', 'information_schema', 'pg_toast', 'pg_temp_1') and n.oid = relnamespace order by nspname, relname

I would take care of this issue.

Thanks.
Hiroshi Inoue



I was looking at latest PostgreSQL driver  psqlodbc-10.02.0000 I am not seeing any code file which returns partition table.

Can you please share some more information on how to get partition tables using PostgreSQL driver.

Please let me know if you need more information. 

Thanks,
Mahesh K
------=_Part_2790094_166511917.1525210775110--