We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d396038 + 04dab0e commit 9ab3f89Copy full SHA for 9ab3f89
scripts/osm2pgsql-replication
@@ -550,7 +550,8 @@ def main():
550
551
try:
552
if not table_exists(conn, f'{args.prefix}_ways'):
553
- LOG.fatal(f'osm2pgsql middle table "{args.prefix}_ways" not found in database "{args.database}". '
+ dbname = conn.get_dsn_parameters()['dbname'] # args.database is None when not specified
554
+ LOG.fatal(f'osm2pgsql middle table "{args.prefix}_ways" not found in database "{dbname}". '
555
'Database needs to be imported in --slim mode.')
556
return 1
557
0 commit comments