Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to define target DB schema #217

Open
PGPAWAN opened this issue Apr 3, 2024 · 2 comments
Open

Option to define target DB schema #217

PGPAWAN opened this issue Apr 3, 2024 · 2 comments

Comments

@PGPAWAN
Copy link

PGPAWAN commented Apr 3, 2024

Hello ,

Thanks for bringing up this exciting data migration tool. Just want to check is there any possibility to define the target schema as well. Since my case schema name is differ in source and target DB'.s

Source - public

Target - schema2

When I am running the below command ..Table is synced in public schema of target db instead of schema2.
pgsync public.table1

@saytesnake
Copy link

I need that too.

@jas32096
Copy link

I tried working around this by setting the default search_path on the users, but it still fails. Complaining the table doesn't exist in the destination

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants