Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1heKis-0003m7-7S for pgsql-general@arkaria.postgresql.org; Fri, 21 Jun 2019 14:41:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1heKir-0004m0-2L for pgsql-general@arkaria.postgresql.org; Fri, 21 Jun 2019 14:41:01 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1heKiq-0004ep-J5 for pgsql-general@lists.postgresql.org; Fri, 21 Jun 2019 14:41:00 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1heKio-0004I1-E7 for pgsql-general@lists.postgresql.org; Fri, 21 Jun 2019 14:40:59 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 1CE3943C; Fri, 21 Jun 2019 10:40:57 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 21 Jun 2019 10:40:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=Z dHDkus9ditf5GsRknuyzlHybY5tYwdleoO6tXyKS90=; b=mW5W68rHp9dpoAwZH LW6o++9N7pO+ls83c3w1qVIMoKAgal1ygtZhJ2p0q1T11Y3pMEXRsjRSowg7oF1M 0a6wz9NFkBHWd049yzyu83H4870X8+4AX+9MLcJuoY0dRJpLuV9bnGfT7i6tuwKt biFfRH7Pv1wsRA63K0GyiZgtSby8GGe7waGurt4C61CADhVtqNOi5arrI3JsUSI7 dBvhFBHU5Km5pyvdPpoS7F4QwmX8jiB1s5DRFiwlAKwNi3Ine6p5ODjNaA1fUR8p RtTbomESdcW3vVXNaX7Z+IU9mTZtrlck6c+JEjVnQ2kV7Fc4ZBeNAddjnEr8INFo iNFzA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=ZdHDkus9ditf5GsRknuyzlHybY5tYwdleoO6tXyKS 90=; b=GrHTn6vdgXfh6AcBE5TOSf8qnoMvvrxEoGnOUvmbj0QAwIKzS+FXf2IVi gPVZ5xJZUtx3+et+12BlvHPdOgD6iH4EKvVz8pytH34toWNplwfwtKwijKeeJmlY WRHTdEzLXw67Ujbfa6oZ8iP++sx9qFZ4Au3QrZU1YMOGAJD+LiQ5tlyZXfydoak8 rf4A2AmblWhhsXD8eWHFKZYs7C+pNwDi8Rqp+FZRnFRNbR5Mx2NC2BzoCKeLmWQ/ +fLBLfuHU+qXBbhS2fowdwTgU9KRL4vbxmsjQv68tBD7K0MFACIhuMl59HbiOrSk 93NGsX4wiSho79wG786w0CRelSW6w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrtdeigdekfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeehnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecukfhppeejuddrvdduvddrudehtddrvddtvdenucfrrghrrghmpehmrghilhhfrhho mheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomhenucevlhhushhtvg hrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id DEB2380064; Fri, 21 Jun 2019 10:40:55 -0400 (EDT) Subject: Re: How can generate alter sequence and drop constraints statements via ora2pg To: Daulat Ram , "pgsql-general@lists.postgresql.org" References: From: Adrian Klaver Message-ID: Date: Fri, 21 Jun 2019 07:40:55 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 6/19/19 11:38 PM, Daulat Ram wrote: > Hi All, > > Any one can give me an idea how we can generate the alter sequence and > drop constraints scripts /statements for a schema tables using ora2pg.conf To clarify you want to run ora2pg against an Oracle install and have it only pull out the alter sequence and drop constraints definitions for selected tables or all tables in a given schema? > > Regards, > > Daulat > -- Adrian Klaver adrian.klaver@aklaver.com