pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: MichaelDBA <MichaelDBA@sqlexec.com>
To: Kalyani Maity <bimal.af2020@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: Oracle to Postgres Migration
Date: Thu, 1 Feb 2024 08:35:07 -0500
Message-ID: <a8bb6f89-dee3-630c-ff6f-602c21d886a3@sqlexec.com> (raw)
In-Reply-To: <CACr=-MX6YEuL2M0hXwr-SoLx1aTpfFmsY0bguQLA11P18RBojQ@mail.gmail.com>
References: <CACr=-MX6YEuL2M0hXwr-SoLx1aTpfFmsY0bguQLA11P18RBojQ@mail.gmail.com>

In general, you convert Oracle synonyms to PG views in the public schema.

Kalyani Maity wrote on 2/1/2024 5:50 AM:
> 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.


Regards,

Michael Vitale

Michaeldba@sqlexec.com <mailto:michaelvitale@sqlexec.com>

703-600-9343

Attachments:

  [image/jpeg] pgadvanced3.jpg (20.6K, ../a8bb6f89-dee3-630c-ff6f-602c21d886a3@sqlexec.com/3-pgadvanced3.jpg)
  download | view image

view thread (30+ messages)  latest in thread

Message-ID: <a8bb6f89-dee3-630c-ff6f-602c21d886a3@sqlexec.com>
Permalink:  ../a8bb6f89-dee3-630c-ff6f-602c21d886a3@sqlexec.com/
Also on:    postgresql.org/message-id/a8bb6f89-dee3-630c-ff6f-602c21d886a3@sqlexec.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: MichaelDBA@sqlexec.com, bimal.af2020@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Oracle to Postgres Migration
  In-Reply-To: <a8bb6f89-dee3-630c-ff6f-602c21d886a3@sqlexec.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox