Re: [PROPOSAL] TAP test example - Mailing list pgsql-hackers

From Nikolay Shaplov
Subject Re: [PROPOSAL] TAP test example
Date
Msg-id 3920392.WW462KbYEj@nataraj-amd64
Whole thread Raw
In response to Re: [PROPOSAL] TAP test example  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
В письме от 19 ноября 2015 10:57:27 пользователь Tom Lane написал:
> Nikolay Shaplov <n.shaplov@postgrespro.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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PROPOSAL] TAP test example
Next
From: Andres Freund
Date:
Subject: Re: [PATCH] Refactoring of LWLock tranches