Move simple_prompt() into its own file to be shared with psql and pg_dump.
Bruce Momjian <bruce@momjian.us>
Move simple_prompt() into its own file to be shared with psql and pg_dump.
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_dump/Makefile | modified | +3 −3 |
| src/bin/pg_dump/pg_backup_db.c | modified | +1 −109 |
| src/bin/pg_dump/pg_dump.h | modified | +4 −1 |
| src/bin/pg_dump/sprompt.c | added | +121 −0 |
| src/bin/psql/common.c | modified | +2 −114 |
| src/bin/psql/common.h | modified | +4 −1 |
| src/bin/psql/Makefile | modified | +2 −2 |
| src/bin/psql/sprompt.c | added | +121 −0 |