<div>Dear all,<br></div><div><br></div><div>I have a mapset connected to a Postgres back-end:<br></div><div><br></div><div>> db.connect -p<br></div><div>driver: pg<br></div><div>database: s4a<br></div><div>schema: mal9<br></div><div>group:<br></div><div><br></div><div>In this mapset there is a large points layer that I need to export. I am trying with v.out.ogr:<br></div><div><br></div><div>> v.out.ogr input=mal9_5x5_sec_units@MAL9 output=/bck/mal9_5x5_sec_units.gpkg format=GPKG<br></div><div>Exporting 34324866 features...<br></div><div>dbmi: Protocol error<br></div><div>ERROR: Cannot select attributes for cat = 11133509<br></div><div><br></div><div>But the attributes for that geometry are accessible in the back-end:<br></div><div><br></div><div>> psql -d s4a<br></div><div>psql (12.5 (Ubuntu 12.5-0ubuntu0.20.04.1))<br></div><div>Type "help" for help.<br></div><div># select * from mal9.mal9_5x5_sec_units where cat = 11133509;<br></div><div>   cat    | mal | label<br></div><div>----------+-----+-------<br></div><div>11133509 |   0 |<br></div><div>(1 row)<br></div><div><br></div><div>What could be causing this error? Is there any other way to export this layer?<br></div><div><br></div><div>Thank you.<br></div><div class="protonmail_signature_block"><div class="protonmail_signature_block-user"><div><br></div><div>-- <br></div><div>Luís<br></div><div><br></div></div><div><br></div><div class="protonmail_signature_block-proton">Sent with <a href="https://protonmail.com" target="_blank">ProtonMail</a> Secure Email.<br></div></div><div><br></div>