Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

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

Open
vdboor opened this issue Sep 11, 2013 · 1 comment
Open

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

vdboor opened this issue Sep 11, 2013 · 1 comment

Comments

@vdboor
Copy link

vdboor commented Sep 11, 2013

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

@vitaliyf
Copy link
Owner

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants