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

Eddy Petrișor eddy.petrisor at gmail.com
Sat Jun 6 23:19:47 UTC 2009


Package: osm2pgsql
Version: 0.52.20080408-2
Severity: important


Although my local postgres server is configured to trust local postgres
connections and users, osm2pgsql always forces the password prompt
making automated generation of maps (I want to generate the map of a
place as it evolved in time). It seems to me the -W option is enabled by
default, making its usage useless.


0 eddy at heidi ~/usr/src/osm/planet/git-planet-rom $ osm2pgsql -b
24.2,43.9,24.5,44.3 -d gis -m -U osm planet-rom.osm
osm2pgsql SVN version 0.52-20080413 $Rev: 7141 $

Password:
130 eddy at heidi ~/usr/src/osm/planet/git-planet-rom $ psql -d gis -U osm
Acesta este psql 8.3.7, terminalul interactiv pentru PostgreSQL.

Tastaţi: \copyright pentru termenii de distribuţie
         \h pentru ajutor cu comenzile SQL
         \? pentru ajutor cu comenzile psql
         \g sau terminaţi cu punct si virgulă pentru a executa interogarea
         \q pentru terminare

gis=# \q
0 eddy at heidi ~/usr/src/osm/planet/git-planet-rom $ psql -H locahost -d
gis -U osm
psql: avertisment: argument în linia de comandă suplimentar "locahost"
ignorat
Acesta este psql 8.3.7, terminalul interactiv pentru PostgreSQL.

Tastaţi: \copyright pentru termenii de distribuţie
         \h pentru ajutor cu comenzile SQL
         \? pentru ajutor cu comenzile psql
         \g sau terminaţi cu punct si virgulă pentru a executa interogarea
         \q pentru terminare

gis=# \q



--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.29-2-amd64

Debian Release: 5.0.1
  500 stable          security.debian.org
  500 stable          ftp.ro.debian.org
   10 unstable        ftp.ro.debian.org
    1 lenny-backports www.backports.org
    1 experimental    ftp.de.debian.org

--- Package information. ---
Depends                 (Version) | Installed
=================================-+-================
libbz2-1.0                        | 1.0.5-1
libc6                  (>= 2.7-1) | 2.7-18
libgcc1           (>= 1:4.1.1-21) | 1:4.3.2-1.1
libgeos-3.0.0          (>= 3.0.0) | 3.0.0-5
libpq5             (>= 8.3~beta1) | 8.3.7-0lenny1
libstdc++6           (>= 4.2.1-4) | 4.3.2-1.1
libxml2               (>= 2.6.27) | 2.6.32.dfsg-5
proj                              | 4.6.0-2
zlib1g               (>= 1:1.1.4) | 1:1.2.3.3.dfsg-12



-- 
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20090607/9d83e024/attachment.pgp>


More information about the Pkg-grass-devel mailing list