Skip to content

Commit aa01596

Browse files
committedJan 9, 2012
add missing postgres provider symbol and link spit with QgsPostgresConn
1 parent ce4fc1d commit aa01596

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
 

‎src/plugins/spit/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
SET (SPIT_SRCS
66
qgsspit.cpp
77
../../providers/postgres/qgspgnewconnection.cpp
8+
../../providers/postgres/qgspostgresconn.cpp
89
qgspgutil.cpp
910
qgsshapefile.cpp
1011
)
@@ -30,6 +31,7 @@ SET (SPIT_EXE_MOC_HDRS
3031
qgsspit.h
3132
qgsshapefile.h
3233
../../providers/postgres/qgspgnewconnection.h
34+
../../providers/postgres/qgspostgresconn.h
3335
)
3436

3537
SET (SPIT_PLUGIN_MOC_HDRS

‎src/providers/postgres/qgspostgresconn.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,12 @@ int QgsPostgresResult::PQftable( int col )
105105
return ::PQftable( mRes, col );
106106
}
107107

108+
int QgsPostgresResult::PQftablecol( int col )
109+
{
110+
Q_ASSERT( mRes );
111+
return ::PQftablecol( mRes, col );
112+
}
113+
108114
int QgsPostgresResult::PQftype( int col )
109115
{
110116
Q_ASSERT( mRes );

0 commit comments

Comments
 (0)
Please sign in to comment.