Re: [PROPOSAL] TAP test example

From: Nikolay Shaplov <n(dot)shaplov(at)postgrespro(dot)ru>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PROPOSAL] TAP test example
Date: 2015-11-19 16:26:49
Message-ID: 3920392.WW462KbYEj@nataraj-amd64
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

В письме от 19 ноября 2015 10:57:27 пользователь Tom Lane написал:
> Nikolay Shaplov <n(dot)shaplov(at)postgrespro(dot)ru> writes:
> > But this is not the issue. We can change it any way we like. The question
> > do we need such example at all, or no?
>
> I'm kind of -1 on the idea of a module that doesn't actually do something
> *useful*.
Actually it tests that sameuser option from pg_hba.conf works as expected.
Allow user to connect only to database with the same name as user name.

I can't say it is something really useful. But my intention was to write an
example, so I choose the most simple functionality to test, so the user of the
example can pay all attention to perl related staff.

I just thought this example might be useful to others. If so, I can prepare it
for commit. Otherwise I will just use it were I intended.

--
Nikolay Shaplov
Postgres Professional: http://www.postgrespro.com
Russian Postgres Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2015-11-19 16:30:12 Re: [PATCH] Refactoring of LWLock tranches
Previous Message Tom Lane 2015-11-19 16:23:53 Re: [PROPOSAL] TAP test example