Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jjTPq-00075d-PO for pgsql-general@arkaria.postgresql.org; Thu, 11 Jun 2020 20:03:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jjTPm-0005sm-MO for pgsql-general@arkaria.postgresql.org; Thu, 11 Jun 2020 20:03:06 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jjTPl-0005sf-AW for pgsql-general@lists.postgresql.org; Thu, 11 Jun 2020 20:03:06 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jjTPi-00067V-LQ for pgsql-general@postgresql.org; Thu, 11 Jun 2020 20:03:04 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id C37485C012E; Thu, 11 Jun 2020 16:03:01 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 11 Jun 2020 16:03:01 -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=w crT+aTXj9oqQxZuHvhDKvEQGDWwQoZiaRDtgW94R8o=; b=hl8Rkwul5/vOi/x2q 6UGMtJ4nbeLS5r9rnKZ6h2cZ0FuRsFlcqDcJe9v03sZ6W8jlmT58u+8bAMZZzzYs SNFPtWVY8RQRjg2uqVyjpqIOXxevSQHJEGkmJ0uNTRrWv+jb0YofbWCpfQotYSWm NKaRXySWf/8sABh7yEU1c5A4oBB8R8wqKNrtWkBbL+cnUXjEFRkYFyOMTAHJnpWc yLuV2wLcWAwFNhDcotgIkL4z3BVbR25EffOA07tvQ+InOgAPkMEpohawblnva8LU CWZDmI4PxDGB7KdjCGw70h/9izdtkFqGkJ+9cScVpdDbnzaBcH8ZOop+fMtZcWTO He00A== 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=wcrT+aTXj9oqQxZuHvhDKvEQGDWwQoZiaRDtgW94R 8o=; b=I2mgAkMtULfjjuktEn7oDzPmGdm26H0u1twEQWlRS0gfbXN1bTgUvVtua 8eAUVHC/ch15MrLVbf585j/Vfa2x8qVKAE7x/RQ823Ct3o2xqQvE7nZkMGO7Rz1I Adn3NoxmQ0rm25CGg20HTdLnk3283TTBK6y7xmtZwnOS4SKqa7GpbgUNZOTjc+LA /iJO3/jyBC8OABLLYr4fAsU/EmbqtQwXt2XAvVjRk/qeyYIr4pWo2LLuiHZMf6eu iimWcKWt1Zm0J1YFI3JcgPCdNZCg9VsoljJI3j5/5P/CmOPaK77GeGioKozJIX1U 1lU9Z03otiPgydwVmAxf2T2cLjHvg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudehledguddulecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeehnecuhfhrohhmpeetughr ihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtg homheqnecuggftrfgrthhtvghrnhepffeltdfgvefgudeuhedvhffftdevvdfftddtieeg ueefkeehteefleekjeejueefnecuffhomhgrihhnpehtvggthhhtrhgvnhgurdhushenuc fkphepjeehrddujedvrdehrddvfedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghr rghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtg homh X-ME-Proxy: Received: from [192.168.1.3] (75-172-5-231.tukw.qwest.net [75.172.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id 173A0328005A; Thu, 11 Jun 2020 16:03:00 -0400 (EDT) Subject: Re: ora2pg error : DBD::Oracle::db prepare failed: ORA-28110 To: George Dimopoulos , "pgsql-general@postgresql.org" References: From: Adrian Klaver Message-ID: <40041ae1-76d2-c5e3-a2da-7c8ab8d2323d@aklaver.com> Date: Thu, 11 Jun 2020 13:03:00 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 6/11/20 12:32 PM, George Dimopoulos wrote: > Hi Everyone, > > I am new to migrating oracle 18c EX to postgres. > > I do not know if this site is the correct site for my problem. If it is > not, can you please point me to correct site to ask the question? > > I used ora2pg to start the migration but when I try to run “ ora2pg -t > SHOW_REPORT” I get the following error: > > /DBD::Oracle::db prepare failed: ORA-28110: policy function or package > NRM_CAVES.UTIL_SECURITY has error (DBD ERROR: error possibly near <*> > indicator at char 49 in 'SELECT DISTINCT c.SHAPE.SDO_GTYPE FROM > NRM_CAVES.<*>LOCATIONS c WHERE ROWNUM < 50000') [for Statement "SELECT > DISTINCT c.SHAPE.SDO_GTYPE FROM NRM_CAVES.LOCATIONS c WHERE ROWNUM < > 50000"] at C:/Strawberry/perl/site/lib/Ora2Pg.pm line 9408/. So does: SELECT DISTINCT c.SHAPE.SDO_GTYPE FROM NRM_CAVES.LOCATIONS c WHERE ROWNUM < 50000 run correctly in the database? > > I have set COMPILE_SCHEMA     0 > > This error appears on every time no matter what I set TYPE, even I have > excluded all the tables where this policy applies. > > Please help, > > Best Regards, > > George > > George Dimopoulos > > Oracle DBA and Weblogic  Admin > > TechTrend Inc. > > 8270 Willow Oaks Corporate Drive, Suite 625, Fairfax, VA 22031 > > Office: 703-521-9392 | Fax 703-663-8668 > > gdimopoulos@techtrend.us | > www.techtrend.us > -- Adrian Klaver adrian.klaver@aklaver.com