Skip to main content
Answer

CDC Postgres UUID to SQL Servers uniqueidentifier

  • October 9, 2023
  • 5 replies
  • 154 views

sumek
Forum|alt.badge.img+1

Hi all, I’m trying to set up a CDC from Postgres(GCP Cloud SQL if it makes any difference) of a table with a UUID column to a SQL Server table with uniqueidentifier column. The wizard says it’s not possible. I’ve tried mapping the tables manually, but all the rows end up being discarded. Is there any way to make it work? Similar migration in the opposite direction works. 

Best answer by john

Hi! Are you using UUID types in your PostgreSQL database? UUID types are currently not supported in Striim’s PostgreSQL reader. We can raise this as a product request if this type is critical for you.

5 replies

john
Forum|alt.badge.img
  • Community Manager
  • Answer
  • October 9, 2023

Hi! Are you using UUID types in your PostgreSQL database? UUID types are currently not supported in Striim’s PostgreSQL reader. We can raise this as a product request if this type is critical for you.


sumek
Forum|alt.badge.img+1
  • Author
  • Known Participant
  • October 10, 2023

yes, I’m using the UUID type on the Postgres side. and yes, can you raise a product request?


sumek
Forum|alt.badge.img+1
  • Author
  • Known Participant
  • October 10, 2023

It seemed to fail even if I used VARCHAR in Postgres and tried to migrate the data to SQL Server uniqueidentifier column. In this case I was able to set up the application, but all rows were discarded at runtime. Sadly in our setup I don’t have access to the striim.server.log logs ...


Himachalapathy
  • New Participant
  • October 11, 2023

If all rows are getting discarded, then it could be a due to incorrect mapping. Can you please check tables property to see if the mapping is specified correctly. Also check if the table name is specified in right case.


sumek
Forum|alt.badge.img+1
  • Author
  • Known Participant
  • October 11, 2023

I’ve created a simple test tables with only single columns, it still didn’t work🤷 Is there any way for us to track the progress of the product request?

and just to be sure: could Transformers/Continuous Queries potentially help us here?