Skip to content

Commit 4edf1ee

Browse files
committedNov 13, 2015
Added PQfmod() to class QgsPostgresResult
1 parent 824fd7b commit 4edf1ee

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed
 

‎src/providers/postgres/qgspostgresconn.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,12 @@ int QgsPostgresResult::PQftype( int col )
124124
return ::PQftype( mRes, col );
125125
}
126126

127+
int QgsPostgresResult::PQfmod( int col )
128+
{
129+
Q_ASSERT( mRes );
130+
return ::PQfmod( mRes, col );
131+
}
132+
127133
Oid QgsPostgresResult::PQoidValue()
128134
{
129135
Q_ASSERT( mRes );

‎src/providers/postgres/qgspostgresconn.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ class QgsPostgresResult
167167
QString PQfname( int col );
168168
int PQftable( int col );
169169
int PQftype( int col );
170+
int PQfmod( int col );
170171
int PQftablecol( int col );
171172
Oid PQoidValue();
172173

0 commit comments

Comments
 (0)
Please sign in to comment.