View Issue Details

IDProjectCategoryView StatusLast Update
0004531SymmetricDSBugpublic2020-09-23 16:34
Reporterpmarzullo Assigned Topmarzullo  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.10.12 
Target Version3.12.4Fixed in Version3.12.4 
Summary0004531: Postgres Varchar column with no defined length getting converted to a LONGVARCHAR
DescriptionWhen a Varchar type column (character varying) in Postgres is specified without a length, the column type gets changed into a LONGVARCHAR as the mapped type code.

When this column is the primary key, then it is thrown away as the use as primary key because we don't support LONGVARCHAR or LONGVARBINARY types as primary keys, and then all columns are used as the primary key.

The changing of the VARCHAR mapped type code should only be changed to LONGVARCHAR when the original column type is TEXT.
Tagsdialect: postgresql

Relationships

related to 0004529 resolvedpmarzullo Postgres Varchar column with no defined length getting converted to a LONGVARCHAR 
related to 0004530 closedpmarzullo Postgres Varchar column with no defined length getting converted to a LONGVARCHAR 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-09-09 10:48 pmarzullo New Issue
2020-09-09 10:48 pmarzullo Status new => assigned
2020-09-09 10:48 pmarzullo Assigned To => pmarzullo
2020-09-09 10:48 pmarzullo Tag Attached: dialect: postgresql
2020-09-09 10:49 pmarzullo Relationship added related to 0004529
2020-09-09 10:49 pmarzullo Relationship added related to 0004530
2020-09-09 12:23 pmarzullo Status assigned => resolved
2020-09-09 12:23 pmarzullo Resolution open => fixed
2020-09-09 12:23 pmarzullo Fixed in Version => 3.12.4
2020-09-23 16:34 admin Status resolved => closed