Adding a --quiet option to initdb

From: Devrim GUNDUZ <devrim(at)commandprompt(dot)com>
To: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Adding a --quiet option to initdb
Date: 2006-01-25 14:08:44
Message-ID: 1138198124.4018.15.camel@evim.gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


Hi,

Attached is a patch which adds --quiet and --q option to initdb. I
personally needed this option while writing a document and taking
screenshot :) It only shows the error and warning messages, as well as
the last lines.

I've updated the docs. Regression tests pass.

This is my first patch to PostgreSQL source, so please guide me if I
have done something wrong.

Regards,
--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/

Attachment Content-Type Size
initdb-quiet.patch text/x-patch 11.8 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2006-01-25 14:28:04 Re: [PATCHES] Adding a --quiet option to initdb
Previous Message Philip Warner 2006-01-25 12:33:45 Suggestions for post-mortem...

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2006-01-25 14:28:04 Re: [PATCHES] Adding a --quiet option to initdb
Previous Message Alon Goldshuv 2006-01-25 09:22:22 Re: Libpq COPY optimization patch