Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
RAJ6
Contributor III
Contributor III

How to Move Talend metadata from public schema to private schema

Hi folks,

During installation of Talend we have provided the db with public repository.

We wish to move the tables created in the public schema to private schema and also we need to use private schema only here after. 

how to change the schema db configuration page on TAC. I have added the connection string in this way "jdbc: postgresql://hostname: port/database/schema". Is this the correct method? if not could you suggest the right way to add schema name with the database name

database name: talend

private schema name: dq

0683p000009LsWI.jpg

I have checked dq schema is there in postgresSQL

could please share your information.

Note: This is urgent requirement

Labels (3)
1 Solution

Accepted Solutions
vapukov
Master II
Master II

check:

- version of PostgreSQL (before 9.4 string little different), You could test it with 

jdbc:postgresql://host:5432/database?searchpath=schema


- permissions

 

as You can see from pictures - all work as expected:

0683p000009Lshh.png

 

2nd picture - show new tables in schema dev, created by Talend

0683p000009Lsum.png

View solution in original post

10 Replies
vapukov
Master II
Master II

I can not test it right now (server production)

but You can test

 

jdbc:postgresql://host:5432/YourDB?currentSchema=YourSchema

 

RAJ6
Contributor III
Contributor III
Author

Hi
I tried your solution. It's not working.
vapukov
Master II
Master II

unfortunately - could not comment, because not see what You full settings

RAJ6
Contributor III
Contributor III
Author

Hi vapukov,

 

Thank you very much for your prompt response. I tried below command.

 

jdbc: postgresql://dwh.cortobddhensa.ap-south-1.rds.amazonaws.com:5432/talend?currentSchema=dq

jdbc: postgresql://dwh.cortobvddhensa.ap-south-1.rds.amazonaws.com:5432/talend?dq

 

hostname: dwh.cortobddhensa.ap-south-1.rds.amazonaws.com

database name: talend

schema name: dq

vapukov
Master II
Master II

check:

- version of PostgreSQL (before 9.4 string little different), You could test it with 

jdbc:postgresql://host:5432/database?searchpath=schema


- permissions

 

as You can see from pictures - all work as expected:

0683p000009Lshh.png

 

2nd picture - show new tables in schema dev, created by Talend

0683p000009Lsum.png

RAJ6
Contributor III
Contributor III
Author

Hi vapukov,

The information you provided me is of immense help. Thanks for your quick response

Anonymous
Not applicable

@vapukov : Hi, 

jdbc:postgresql://host:5432/database?currentschema=schema

 This URL checks out. 

However the tables are not created in the specified private schema. We tried manually moving all the tables from public to private schema and changed the url in tac and tried making changes in tac. The changes are still captured in public schema and it is not getting reflected in private schema even after changing the url connection string.

vapukov
Master II
Master II


@gautam_srinivas wrote:

@vapukov : Hi, 

jdbc:postgresql://host:5432/database?currentschema=schema

 This URL checks out. 

However the tables are not created in the specified private schema. We tried manually moving all the tables from public to private schema and changed the url in tac and tried making changes in tac. The changes are still captured in public schema and it is not getting reflected in private schema even after changing the url connection string.


0683p000009MACn.png


check all information above ... it is work 

vapukov
Master II
Master II

what exactly PostgreSQL are You use?