| From: | Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com> |
|---|---|
| To: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Fix a typo in pg_receivewal.c's get_destination_dir() |
| Date: | 2022-02-26 16:34:13 |
| Message-ID: | CALj2ACUT0C2LQwhyLXTQdj8T9SxZa5j7cmu-UOz0cZ8_D5edjg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi,
It looks like there's a typo in pg_receivewal.c's
get_destination_dir(), that is, use the function parameter dest_folder
instead of global variable basedir in the error message. Although
there's no harm in it as basedir is a global variable in
pg_receivewal.c, let's use the function parameter to be in sync with
close_destination_dir.
Attaching a tiny patch to fix it.
Regards,
Bharath Rupireddy.
| Attachment | Content-Type | Size |
|---|---|---|
| v1-0001-Fix-a-typo-in-pg_receivewal.c-s-get_destination_d.patch | application/octet-stream | 838 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Chapman Flack | 2022-02-26 16:48:52 | Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file |
| Previous Message | Andrew Dunstan | 2022-02-26 16:10:45 | Re: Mingw task for Cirrus CI |