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 1fDN6X-00037x-Ke for pgsql-odbc@arkaria.postgresql.org; Tue, 01 May 2018 04:41:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fDN6W-0001vC-4Q for pgsql-odbc@arkaria.postgresql.org; Tue, 01 May 2018 04:41:28 +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 1fDN6V-0001uA-Sz for pgsql-odbc@lists.postgresql.org; Tue, 01 May 2018 04:41:27 +0000 Received: from mail02.asahi-net.or.jp ([202.224.55.14]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fDN6M-0008Sr-Ds for pgsql-odbc@postgresql.org; Tue, 01 May 2018 04:41:27 +0000 Received: from [192.168.1.4] (p237001-ipngn200203fukui.fukui.ocn.ne.jp [114.171.140.1]) (Authenticated sender: GQ9H-INUE) by mail02.asahi-net.or.jp (Postfix) with ESMTPA id 3CC23CDBB9; Tue, 1 May 2018 13:41:12 +0900 (JST) Subject: Re: PostgreSQL 10 Partition Tables: Support through PG Driver To: Mahesh Kansara Cc: "pgsql-odbc@postgresql.org" 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> From: "Inoue, Hiroshi" Message-ID: Date: Tue, 1 May 2018 13:41:15 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <141404539.2553946.1525130781751@mail.yahoo.com> Content-Type: multipart/alternative; boundary="------------E3AB3C50BCBEC5105D0BCDC8" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------E3AB3C50BCBEC5105D0BCDC8 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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 > 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 > 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 >> 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 --------------E3AB3C50BCBEC5105D0BCDC8 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
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
--------------E3AB3C50BCBEC5105D0BCDC8--