[GRASS-user] Lost attribute connection - grass 7.6.1

Hi Users,

I often create vector data using ‘r.to.vect’ which vectorises with no issues but If I then export it to PostGIS using ‘v.out.postgis’ the first layer will export fully but consecutive layers fail with the following error:-

GRASS_INFO_WARNING(4924,1): Table <grass_gis.nameofmylayer> not found in database using driver
GRASS_INFO_END(4924,1)

After which the table does not open again in grass. I’ve checked to ensure both ‘sqlite’ and ‘pg’ connections are present. When I get the above error I am connected to ‘pg’

db.tables -p (shows me i’m connecetd to ‘pg’)

db.connect -p or -g

driver: pg
database: ######
schema: grass_gis
group: postgis_reader

(Tue Aug 06 15:56:34

db.connect -g

This is probably something obvious i’m missing!!

Thanks,
Paul Shapley