Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFbqo-0006bs-7m for pgsql-docs@arkaria.postgresql.org; Tue, 30 May 2017 07:45:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dFbqn-00005B-KM for pgsql-docs@arkaria.postgresql.org; Tue, 30 May 2017 07:45:57 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dFbqP-0007s7-Kj for pgsql-docs@postgresql.org; Tue, 30 May 2017 07:45:33 +0000 Received: from mx1.mahindracomviva.com ([202.56.229.153] helo=COMV-EDGE3-GGN.COMVIVA.COM) by makus.postgresql.org with esmtps (TLS1.0:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dFbqI-0003HI-On for pgsql-docs@postgresql.org; Tue, 30 May 2017 07:45:29 +0000 Received: from autodiscover.mahindracomviva.com (192.168.1.70) by COMV-EDGE3-GGN.COMVIVA.COM (192.168.1.40) with Microsoft SMTP Server id 14.3.319.2; Tue, 30 May 2017 13:15:19 +0530 Received: from COMV-MTA1-GGN.comviva.com (COMV-MTA1-GGN.comviva.com [127.0.0.1]) by COMV-MTA1-GGN.comviva.com (Service) with ESMTP id 15F1E6590F; Tue, 30 May 2017 13:12:21 +0530 (IST) Received: from COMV-HUC01-GGN.COMVIVA.COM (unknown [172.16.1.26]) by COMV-MTA1-GGN.comviva.com (Service) with ESMTP id DAAF365902; Tue, 30 May 2017 13:12:20 +0530 (IST) Received: from COMV-MBX02-GGN.COMVIVA.COM ([fe80::b58e:9e13:85c1:a78a]) by COMV-HUC01-GGN.COMVIVA.COM ([172.16.1.26]) with mapi id 14.03.0294.000; Tue, 30 May 2017 13:14:45 +0530 From: Jashobanta Mahapatra To: "michael.paquier@gmail.com" CC: "pgsql-docs@postgresql.org" Subject: postgres reindexing on partition table Thread-Topic: postgres reindexing on partition table Thread-Index: AdLZF00JBQk4zYQwSL+weUF1PXrujA== Date: Tue, 30 May 2017 07:44:43 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.19.3.196] Content-Type: multipart/alternative; boundary="_000_EC7D716DA3C62341848CDCC6623FB859376CAC86COMVMBX02GGNCOM_" MIME-Version: 1.0 X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org --_000_EC7D716DA3C62341848CDCC6623FB859376CAC86COMVMBX02GGNCOM_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, Please help me on this. We are migrating our application from Oracle to Postgres. So we have some big tables where partitioning and indexing is implemented w= e are migrating into postgres. For postgres we are rebuilding the indexes by running create concurrently,= drop, alter schema inside a script. But in case of partition table we are facing the problem as we have to kn= ow the exact index name and partition name( which may change every month) i= n order to rebuild index (create concurrently, drop, alter) . Thanks a lot in advance. jasho This e-mail and all material transmitted with it are for the use of the int= ended recipient(s) ONLY and contains confidential and/or privileged informa= tion. If you are not the intended recipient, please contact the sender by r= eply e-mail and destroy all copies and the original message. Any unauthoriz= ed review, use, disclosure, dissemination, forwarding, printing or copying = of this email or any action taken pursuant to the contents of the present e= -mail is strictly prohibited and is unlawful. The recipient acknowledges th= at Comviva Technologies Limited or its management or directors, are unable = to exercise control or ensure the integrity over /of the contents of the in= formation contained in e-mail. Any views expressed herein are those of the = individual sender only and no binding nature of the contents shall be impli= ed or assumed unless the sender does so expressly with due authority of Com= viva Technologies Limited. E-mail and any contents transmitted with it are = prone to viruses and related defects despite all efforts to avoid such by C= omviva Technologies Limited. --_000_EC7D716DA3C62341848CDCC6623FB859376CAC86COMVMBX02GGNCOM_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

Please help me on this.

 

We are migrating our application from Oracle to Post= gres.

 

So we have some big tables where partitioning and in= dexing is implemented we are migrating into postgres.

 

For postgres we are rebuilding the indexes by runnin= g  create concurrently, drop, alter schema  inside a script.=

 

But in case of  partition table  we are fa= cing the problem as we have to know the exact index name and partition name= ( which may change every month) in order to rebuild index (create concurren= tly, drop, alter) .

 

Thanks a lot in advance.

jasho

 

 

 

 

 

 

This e-mail and all material transmitted with it are for the use of the int= ended recipient(s) ONLY and contains confidential and/or privileged informa= tion. If you are not the intended recipient, please contact the sender by r= eply e-mail and destroy all copies and the original message. Any unauthorized review, use, disclosure, dissem= ination, forwarding, printing or copying of this email or any action taken = pursuant to the contents of the present e-mail is strictly prohibited and i= s unlawful. The recipient acknowledges that Comviva Technologies Limited or its management or directors, are unab= le to exercise control or ensure the integrity over /of the contents of the= information contained in e-mail. Any views expressed herein are those of t= he individual sender only and no binding nature of the contents shall be implied or assumed unless the send= er does so expressly with due authority of Comviva Technologies Limited. E-= mail and any contents transmitted with it are prone to viruses and related = defects despite all efforts to avoid such by Comviva Technologies Limited. --_000_EC7D716DA3C62341848CDCC6623FB859376CAC86COMVMBX02GGNCOM_--