Re: Oracle to Postgres Migration

From: M Sarwar <sarwarmd02(at)outlook(dot)com>
To: Kalyani Maity <bimal(dot)af2020(at)gmail(dot)com>, "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Oracle to Postgres Migration
Date: 2024-02-01 16:59:26
Message-ID: DM4PR19MB5978C24AC85F271DC12DBE5ED3432@DM4PR19MB5978.namprd19.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Kalyani,
If you want to refer newly migrated procedure, procedure1 which is now existing in the schema, scheam2, your solution is correct.

create synonym 'schema1.procedure1' for 'schema2.procedure1'
Thanks,

________________________________
From: Kalyani Maity <bimal(dot)af2020(at)gmail(dot)com>
Sent: Thursday, February 1, 2024 5:50 AM
To: pgsql-admin(at)lists(dot)postgresql(dot)org <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Oracle to Postgres Migration

Hi,
I am doing an oracle to postgres migration.

I have one scenario where one synonym created as below in oracle DB:

create synonym 'schema1.procedure1' for 'schema2.procedure1'

procedure1 only exist in schema2.

I have migrated both schema 1 and schema 2 in postgres.

How to create this synonym in postgres.

Thanks.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Sudeep Dass 2024-02-01 19:02:52 Enforcing Initial Password Setup for New Users
Previous Message M Sarwar 2024-02-01 16:32:57 Re: Oracle to Postgres Migration