| From: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
|---|---|
| To: | PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | pg_recvlogical not accepting -I to specify start LSN position |
| Date: | 2014-05-25 13:35:24 |
| Message-ID: | CAB7nPqThXqU3QgNzS3UzmQRv_qjyPTGkbG5px2bq3_d=fJAS4w@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi all,
As written in subject, pg_recvlogical does not work properly with
option -I but it should:
$ pg_recvlogical -I 0/0
pg_recvlogical: invalid option -- I
Try "pg_recvlogical --help" for more information.
$ pg_recvlogical --help | grep "\-I"
-I, --startpos=PTR where in an existing slot should the streaming start
Attached patch corrects that, reshuffling at the same time the option
letters parsed with getopt_long in alphabetical order.
Regards,
--
Michael
| Attachment | Content-Type | Size |
|---|---|---|
| 20140525_pg_recvlogical_opts.patch | text/x-patch | 469 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Heikki Linnakangas | 2014-05-25 14:16:29 | Re: 9.4 btree index corruption |
| Previous Message | Thomas Mayer | 2014-05-25 13:10:36 | Re: Window function optimisation, allow pushdowns of items matching PARTITION BY clauses |