Re: Oracle to Postgres Migration - Mailing list pgsql-admin

From Laurenz Albe
Subject Re: Oracle to Postgres Migration
Date
Msg-id e6740c8dd34034502736c48a8e35c14e9975054b.camel@cybertec.at
Whole thread Raw
In response to Oracle to Postgres Migration  (Kalyani Maity <bimal.af2020@gmail.com>)
Responses Oracle to Postgres Migration
List 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



pgsql-admin by date:

Previous
From: Kalyani Maity
Date:
Subject: Oracle to Postgres Migration
Next
From: MichaelDBA
Date:
Subject: Re: Oracle to Postgres Migration