I am loading the PostGIS table in ArcMap 10.4.1 using a database connection. Then I export the loaded layer (Right click, Data, Export Data...) into a newly created File Geodatabase. The procedure is working, there are only a few of the features that are not exported.
Then I tried with QGIS 2.18.11 (Right click, Save, File GDB). The same happens. The same features are not exported to the FGDB.
I looked into the PostGIS table and the failing features all have something in common: they all have one or more text fields wider than 255 characters.
Those same fields in the destination FGDB have a limit of 255 characters.
Is there a way to make the text fields adjust automatically (and larger than 255 chars) to the size of the field in the table being imported?
It is possible to create text fields as wide as 2 147 483 647 characters according to the ESRI docs.