Re: [PROPOSAL] TAP test example

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: [PROPOSAL] TAP test example
Дата
Msg-id 564DED3D.7000004@BlueTreble.com
обсуждение исходный текст
Ответ на [PROPOSAL] TAP test example  (Nikolay Shaplov <n.shaplov@postgrespro.ru>)
Ответы Re: [PROPOSAL] TAP test example
Список pgsql-hackers
On 11/19/15 8:42 AM, Nikolay Shaplov wrote:
> +sub psql_ok
> +{
> +    my $db = shift;
> +    my $sql = shift;
> +    my $comment = shift;

Isn't the preferred method of parameter assignment to use @_?

Also, I'd think one of the examples should use DBI, since presumably one 
of the big benefits to tap is not dealing with raw psql output...
-- 
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: proposal: LISTEN *
Следующее
От: Nikolay Shaplov
Дата:
Сообщение: Re: [PROPOSAL] TAP test example