Skip to content
Permalink
Browse files

PostGIS support for importing layers with binary fields

(cherry picked from commit 7a5af29)
  • Loading branch information
audun authored and nyalldawson committed May 25, 2020
1 parent bfed9b8 commit 11754694b434addb762da4935f0348f57603bea7
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/providers/postgres/qgspostgresprovider.cpp
@@ -4010,6 +4010,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 1175469

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