| От | Karsten Hilbert |
|---|---|
| Тема | Re: pg_dump save command in output |
| Дата | |
| Msg-id | YVnnBTxpVwxOYYy4@hermes.hilbert.loc обсуждение |
| Ответ на | Re: pg_dump save command in output (Joao Miguel Ferreira <joao.miguel.c.ferreira@gmail.com>) |
| Список | pgsql-general |
Am Sun, Oct 03, 2021 at 06:15:54PM +0100 schrieb Joao Miguel Ferreira: > I just wanted to save the command inside the SQL file to be able to > "remember" it later. ideally I would open the file on some text editor and > see the original pg_dump command on the few first lines, as a comment > > -- original command was: psql -h some_host -p ..... > > > > > Are you dumping in plain or custom format? > > > > plain (SQL) Run the dump from a bash script which pre-catenates (Is that even a word ? it is now :) the command into the plain (SQL) output after the fact. Karsten -- GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера