Re: Refactor handling of "-only" options in pg_dump, pg_restore

From: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
To: jian he <jian(dot)universality(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Refactor handling of "-only" options in pg_dump, pg_restore
Date: 2026-03-02 21:58:30
Message-ID: CAN4CZFPbxT3+L=d5+cczUbVQcCRSmNxZt0gzJEfL3hHmVO3rXg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello

Simple patch and looks good, just one very minor about this comment:

/* reject conflicting "-only" options */

I would either remove the comment or the "-only" part, as that's no longer true.
(I see that it was there earlier in the later if, and it was similarly
incorrect. So this is not new with the patch, but still seems wrong)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David G. Johnston 2026-03-02 22:09:12 Re: pg_plan_advice
Previous Message Zsolt Parragi 2026-03-02 21:37:01 Re: Hash-based MCV matching for large IN-lists