why -Fdance archive format option works with ./pg_restore but not with ./pg_dump?

From: Srinath Reddy <srinath2133(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: why -Fdance archive format option works with ./pg_restore but not with ./pg_dump?
Date: 2025-01-23 08:18:56
Message-ID: CAFC+b6pfK-BGcWW1kQmtxVrCh-JGjB2X02rLPQs_ZFaDGjZDsQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

in pg_restore archive format option is parsed using only the first
character of the value but in pg_dump the archive format option's value is
compared with whole string using pg_strcasecmp is there any specific reason?

Regards,
Srinath Reddy Sadipiralla
EnterpriseDB: http://www.enterprisedb.com

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Shlok Kyal 2025-01-23 08:42:40 Re: create subscription with (origin = none, copy_data = on)
Previous Message Michael Paquier 2025-01-23 08:05:30 Re: per backend WAL statistics