Re: Cleanup/remove/update references to OID column

Поиск
Список
Период
Сортировка
Искать
От
Andres Freund
Тема
Re: Cleanup/remove/update references to OID column
Дата
Msg-id
20190418002959.6ycsixkipsxupedn@alap3.anarazel.de
Ответ на
Список
Дерево обсуждения
Cleanup/remove/update references to OID column Justin Pryzby <pryzby@telsasoft.com>
Re: Cleanup/remove/update references to OID column "Daniel Verite" <daniel@manitou-mail.org>
Re: Cleanup/remove/update references to OID column Justin Pryzby <pryzby@telsasoft.com>
Re: Cleanup/remove/update references to OID column Michael Paquier <michael@paquier.xyz>
Re: Cleanup/remove/update references to OID column Andres Freund <andres@anarazel.de>
Re: Cleanup/remove/update references to OID column Justin Pryzby <pryzby@telsasoft.com>
Re: Cleanup/remove/update references to OID column "Daniel Verite" <daniel@manitou-mail.org>
Re: Cleanup/remove/update references to OID column Andres Freund <andres@anarazel.de>
Re: Cleanup/remove/update references to OID column Andres Freund <andres@anarazel.de>
Re: Cleanup/remove/update references to OID column Justin Pryzby <pryzby@telsasoft.com>
Re: Cleanup/remove/update references to OID column Andres Freund <andres@anarazel.de>
Re: Cleanup/remove/update references to OID column Justin Pryzby <pryzby@telsasoft.com>
Re: Cleanup/remove/update references to OID column Justin Pryzby <pryzby@telsasoft.com>
Re: Cleanup/remove/update references to OID column Justin Pryzby <pryzby@telsasoft.com>
Re: Cleanup/remove/update references to OID column Justin Pryzby <pryzby@telsasoft.com>
Re: Cleanup/remove/update references to OID column Tom Lane <tgl@sss.pgh.pa.us>
Re: Cleanup/remove/update references to OID column Justin Pryzby <pryzby@telsasoft.com>
Hi,

On 2019-04-15 18:35:12 +0200, Daniel Verite wrote:
> 	Andres Freund wrote:
> 
> > Yes, I was planning to commit that soon-ish. There still seemed
> > review / newer versions happening, though, so I was thinking of waiting
> > for a bit longer.
> 
> You might want to apply this trivial one in the same batch:
> 
> index 452f307..7cfb67f 100644
> --- a/src/bin/pg_dump/pg_dump.c
> +++ b/src/bin/pg_dump/pg_dump.c
> @@ -428,7 +428,7 @@ main(int argc, char **argv)
>  
> 	InitDumpOptions(&dopt);
>  
> -	while ((c = getopt_long(argc, argv,
> "abBcCd:E:f:F:h:j:n:N:oOp:RsS:t:T:U:vwWxZ:",
> +	while ((c = getopt_long(argc, argv,
> "abBcCd:E:f:F:h:j:n:N:Op:RsS:t:T:U:vwWxZ:",
> 							long_options,
> &optindex)) != -1)
> 	{
> 		switch (c)
> 
> "o" in the options list is a leftover. Leaving it in getopt_long() has the 
> effect that pg_dump -o fails (per the default case in the switch),
> but it's missing the expected error message (pg_dump: invalid option -- 'o')

Thanks for finding! Pushed.

Greetings,

Andres Freund


В списке pgsql-hackers по дате отправления
От: Andres Freund
Дата:
От: Andres Freund
Дата:
FAQ