You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
ogr2ogr will take the content of a feature from a WFS-service and create a corresponding table in PostgreSQL, where the data is stored.
Actual behavior
ogr2ogr tries to create a varchar column with a max length that exceeds the max length allowed by PostgreSQL, with the following error:
ERROR: ALTER TABLE "schema_name"."tabel_name" ADD COLUMN "column_name" VARCHAR(1073741822)
ERROR: length for type varchar cannot exceed 10485760
Steps to reproduce the problem.
Have a WFS-service where a feature has a string length exceeding 10485760, which is the max length for VARCHAR in PostgreSQL
Expected behavior and actual behavior.
Expected behavior
ogr2ogr will take the content of a feature from a WFS-service and create a corresponding table in PostgreSQL, where the data is stored.
Actual behavior
ogr2ogr tries to create a varchar column with a max length that exceeds the max length allowed by PostgreSQL, with the following error:
Steps to reproduce the problem.
Have a WFS-service where a feature has a string length exceeding 10485760, which is the max length for VARCHAR in PostgreSQL
Shown here via a DescribeFeatureType command:
The command used:
Operating system
Windows 10
GDAL version and provenance
GDAL 2.4.0, released 2018/12/14
Tested with both PostgreSQL 9.3 and 10
The text was updated successfully, but these errors were encountered: