Ticket #3489 (new bug)

Opened 2 years ago

Last modified 2 years ago

Missing DB name in Add PostGis layer gives no useful warning

Reported by: mbernasocchi Owned by: nobody
Priority: minor: annoyance Milestone: Version 1.7.0
Component: GUI Version: 1.6.0
Keywords: postGis Cc:
Platform Version: Platform: Debian
Must Fix for Release: No Awaiting user input: no

Description

When creating a new connection to a PostGis? DB, if the DB name is left empty the user is given the following messages:

Database connection was successful, but the accessible tables could not be determined.

and then

Database connection was successful, but no accessible tables were found.
Please verify that you have SELECT privilege on a table carrying PostGIS geometry.

It would be good to mention that a DB name is mandatory.

Change History

in reply to: ↑ description   Changed 2 years ago by jef

Replying to mbernasocchi:

It would be good to mention that a DB name is mandatory.

But it isn't - dbname defaults to the username.

  Changed 2 years ago by mbernasocchi

ok, I see, in Postgis manager it is visible on which DB one is working (important foremost in case of a default) but not when simply adding a postgis layer using the gui button.

Note: See TracTickets for help on using tickets.