Re: Contribution to postgresql - Mailing list pgsql-hackers

From Laurenz Albe
Subject Re: Contribution to postgresql
Date
Msg-id 68645a4429a3dc66f319bc0a956ad6879eda7094.camel@cybertec.at
Whole thread Raw
In response to Contribution to postgresql  (Nicky Larson <said.assemlal@gmail.com>)
List pgsql-hackers
Nicky Larson wrote:
> I am using postgresql at work, and I would like to contribute.
> 
> From the todo list, I chose:
> 
> Allow log_min_messages to be specified on a per-module basis
> 
> Is this feature always wanted ? That would be my first contribution to postgresql, is it an easy one ?

I guess the difficult part might be specifying what exactly the
feature does and reaching a consensus on that.

TODO list items have the tendency to be tricky that way - things
that are easy to design are often already implemented.

Currently you can set the parameter based on user and database
(ALTER ROLE/DATABASE SET log_min_messages = ...).

One idea would be to enable a setting only for a certain value
of "application_name".  That could be done with an additional clause
to ALTER ROLE and ALTER DATABASE.  How you could do that for a global
setting is unclear to me; surely you wouldn't change the syntax in
postgresql.conf.


One good road to get into PostgreSQL development is by reviewing patches.
That allows you to learn from others and get to know parts of the code
you are not yet familiar with.

There is always a shortage of reviewers!

Yours,
Laurenz Albe



pgsql-hackers by date:

Previous
From: Andrey Borodin
Date:
Subject: Re: [Patch] pg_rewind: options to use restore_command fromrecovery.conf or command line
Next
From: Masahiko Sawada
Date:
Subject: Re: [HACKERS] Restricting maximum keep segments by repslots