Skip to main content

I am reading from a postgresql database. Attribute [publication_time] has a primary key and type timestamp. In the postgresql database this attribute has values, but FME 2018.1 inspector shows no (blank) values.

Can timestamp as primarykey be the cause?

 

Kind regards

 

Kees

 

It seems that the problem is caused by the potgresql database. There is a combined primarykey of 2 attributes. Can FME solve that problem?

 

Kind regards


I know it doesn't answer your question, but I would argue that for almost all use cases it's not a great idea to use a timestamp as a primary key.

Some arguments: https://dba.stackexchange.com/questions/168356/is-using-timestamp-as-primary-key-good-idea-mysql-mariadb

For efficiency and ease of use, it's difficult to beat an integer primary key generated from a sequence defined in your database. If you dabble with synchronization or distributed datasets, I would recommend using a GUID primary key.


Thank you David