Skip to content
Permalink
Browse files

PostGIS support for importing layers with binary fields

  • Loading branch information
audun authored and nyalldawson committed May 26, 2020
1 parent 5075e44 commit 7a5af29579d6b0c028dd39097a9a406626144c1c
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/providers/postgres/qgspostgresprovider.cpp
@@ -4061,6 +4061,11 @@ bool QgsPostgresProvider::convertField( QgsField &field, const QMap<QString, QVa
fieldSize = -1;
break;

case QVariant::ByteArray:
fieldType = QStringLiteral( "bytea" );
fieldPrec = -1;
break;

default:
return false;
}

0 comments on commit 7a5af29

Please sign in to comment.
You can’t perform that action at this time.