Re: ora2pg import

From: Ricardo Martin Gomez <rimartingomez(at)hotmail(dot)com>
To: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>, Pepe TD Vo <pepevo(at)yahoo(dot)com>
Subject: Re: ora2pg import
Date: 2019-01-30 01:48:13
Message-ID: SC1P15201MB230456ED900C2C19B66CC691A3900@SC1P15201MB2304.LAMP152.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi Pepe,
First, you have to understand some differences between PostgreSQL and Oracle.
In Oracle: schema = user. All objects there are inside the schema.

In PostgreSQL: schema does not exists. Database != user. All objects there are inside the database.

Obtener Outlook para Android<https://aka.ms/ghei36>

________________________________
From: Pepe TD Vo <pepevo(at)yahoo(dot)com>
Sent: Tuesday, January 29, 2019 2:09:53 PM
To: Pgsql-admin
Subject: ora2pg import

Hello expert DBAs,

would you please show me how to import scripts from Ora2pg into postgres db using each schema?
From ora2pg, there's no export the whole database but one by one schema.
Do I need to create each schema on postgres db and how do I run the export script per schema? If I import them by postgres all the tables, index, etc... will be under postgres user right?

what I need to do for this import from sources of Oracle?
thank you.

Bach-Nga

No one in this world is pure and perfect. If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak kindly.
*** Genuinely rich *** Faithful talent *** Sharing success

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Shreeyansh Dba 2019-01-30 05:32:22 Re: ora2pg import
Previous Message Bear Giles 2019-01-30 00:25:40 Re: : : How to mask column: :