django-dbdump icon indicating copy to clipboard operation
django-dbdump copied to clipboard

shell remains in non-echo mode after running dbump on PostgreSQL

Open vdboor opened this issue 10 years ago • 1 comments

Hi, first of all: WONDERFUL APP! exactly what I was looking for.

I noticed the shell remains in "non-echo" mode after running the dbdump command for PostgreSQL. I fixed this using stty echo. Do you have any idea what is causing this?

I'm using pg_dump 9.1.5 on OS X 10.7

vdboor avatar Sep 11 '13 08:09 vdboor

Hi,

I don't have any idea - I actually haven't used PostgreSQL functionality myself since it was mostly contributed by someone else. Sounds pretty strange since we are just executing pg_dump with parameters.

Can you try adding pipe.close() at the very bottom of https://github.com/vitaliyf/django-dbdump/blob/master/dbdump/management/commands/dbdump.py - perhaps not explicitly doing this messes things up somehow.

PS. You're welcome!

vitaliyf avatar Sep 11 '13 13:09 vitaliyf