Review: check existency of table for -t option (pg_dump) when pattern...

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Subject: Review: check existency of table for -t option (pg_dump) when pattern...
Date: 2015-09-11 15:59:48
Message-ID: 55F2FA74.7010306@sigaev.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

https://commitfest.postgresql.org/6/201/

Patch looks good and is helpful in some usecases. I found and fix some typo (new
version in attach), but patch shows some inconsistent output:
% pg_dump -t 'aaa*' postgres
pg_dump: No matching tables were found
% pg_dump -t 'aaa*' --strict-names postgres
pg_dump: Table "aaa*" not found.

In second case error message is obviously worse.
--
Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru
WWW: http://www.sigaev.ru/

Attachment Content-Type Size
pg_dump-strict-names-9.patch text/plain 14.9 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2015-09-11 16:00:26 Re: WIP: Make timestamptz_out less slow.
Previous Message Tomas Vondra 2015-09-11 15:54:46 Re: Partitioned checkpointing