[DebianGIS-dev] Bug#532145: Bug#532145: Acknowledgement ([osm2pgsql] osm2pgsql: always forces a password prompt - breaks unassisted map generation)

Andreas Putzo andreas at putzo.net
Tue Jun 9 08:49:02 UTC 2009


Hi,

On Jun 09  03:24, Eddy Petrișor wrote:
> > On Jun 07  04:08, Eddy Petrișor wrote:
> >> Package: osmqpgsql
> >> I just looked into the code and it seems that whenever the user
> >> parameter was given, the password prompt appeared, evn if not necessary.
> > 
> > Thanks for your bug report and the patch. The bug is already fixed
> > upstream the same way as you did. Please expect an updated packages soon.
> 
> Are you planning to do "official" backports, too?
> 
> I made my own patched package, but maybe other people would find them
> useful.

Yes, once the package migrated to testing i will take care that it goes
into backports as well.

> >> Connection to database failed: FATAL:  Ident authentication failed for
> >> user "osm"
> > 
> > The error message comes from postgres, i guess that's nothing osm2pgsql
> > should deal with :)
> 
> Well, is, imo, sufficient to indicate the possible cause of the login
> issue. Better handling is preferable, but I don't this is crucial to
> improve this, especially if it complicates the code a lot (I haven't
> looked).

Problem is that there are many possible reasons why the database
connection failed and i think it's impossible to handle them all.
But it might be a good idea to just hint the -W option in any case.


Andreas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20090609/013ca42e/attachment.pgp>


More information about the Pkg-grass-devel mailing list