Re: Oracle to Postgres Migration

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Kalyani Maity <bimal(dot)af2020(at)gmail(dot)com>, pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Oracle to Postgres Migration
Date: 2024-02-01 12:38:16
Message-ID: e6740c8dd34034502736c48a8e35c14e9975054b.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, 2024-02-01 at 16:20 +0530, Kalyani Maity wrote:
> 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.

You don't. Instead, you set "search_path" to include both schemas.

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message MichaelDBA 2024-02-01 13:35:07 Re: Oracle to Postgres Migration
Previous Message Kalyani Maity 2024-02-01 10:50:38 Oracle to Postgres Migration