Incorrect type keyword generated for PostgreSQL column
-
- Posts: 9
- Joined: Thu 17 Mar 2016 14:26
Incorrect type keyword generated for PostgreSQL column
I am using Entity Developer v 5.8.791 in model first mode, and Postgresql 9.5. When I create or modify an entity property of type "datetimeoffset" using the "Property Editor" dialog, the "Server Data Type" generated by Entity Developer is "timestamp with timezone". But this fails to be created on the database server. If I modify it to be "timestamp with time zone" (with a space character in "time zone") then it works fine. The server type that is automatically generated by Entity Developer should be fixed.
Re: Incorrect type keyword generated for PostgreSQL column
You are using the LinqConnect model (*.lqml), aren't you?
We have reproduced the issue. We will notify you when it is fixed.tom.puckett wrote:When I create or modify an entity property of type "datetimeoffset" using the "Property Editor" dialog, the "Server Data Type" generated by Entity Developer is "timestamp with timezone". But this fails to be created on the database server. If I modify it to be "timestamp with time zone" (with a space character in "time zone") then it works fine.
-
- Posts: 9
- Joined: Thu 17 Mar 2016 14:26
Re: Incorrect type keyword generated for PostgreSQL column
Yes, LinqConnect model.
Shalex wrote:You are using the LinqConnect model (*.lqml), aren't you?We have reproduced the issue. We will notify you when it is fixed.tom.puckett wrote:When I create or modify an entity property of type "datetimeoffset" using the "Property Editor" dialog, the "Server Data Type" generated by Entity Developer is "timestamp with timezone". But this fails to be created on the database server. If I modify it to be "timestamp with time zone" (with a space character in "time zone") then it works fine.
Re: Incorrect type keyword generated for PostgreSQL column
The bug is fixed. We will notify you when the corresponding build of Entity Developer is available for download.
Re: Incorrect type keyword generated for PostgreSQL column
The bug with generating the "timestamp with time zone" columns in the Generate Database Script / Update Database From Model functionality is fixed in LinqConnect 4.5.976: http://forums.devart.com/viewtopic.php?f=31&t=33580.
-
- Posts: 9
- Joined: Thu 17 Mar 2016 14:26
Re: Incorrect type keyword generated for PostgreSQL column
Confirmed it's working now, thanks.