Re: pgTAP installation

Поиск
Список
Период
Сортировка
От Vijaykumar Jain
Тема Re: pgTAP installation
Дата
Msg-id CAM+6J94xJyHaM7g=z3LQQzF7UwBcj5vhgwm6tvthxFMZMHe68A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgTAP installation  (Vijaykumar Jain <vijaykumarjain.github@gmail.com>)
Ответы Re: pgTAP installation  (Vijaykumar Jain <vijaykumarjain.github@gmail.com>)
Список pgsql-general
ignore,
I was wrong.
the script gets loaded by enabling the extension.

postgres@db:~/postgresql-14beta1/contrib/pgtap$ dropdb test
postgres@db:~/postgresql-14beta1/contrib/pgtap$
postgres@db:~/postgresql-14beta1/contrib/pgtap$ createdb test
postgres@db:~/postgresql-14beta1/contrib/pgtap$ psql test
psql (14beta1)
Type "help" for help.

test=# create extension pgtap;
CREATE EXTENSION
test=# SELECT * FROM no_plan();
 no_plan
---------
(0 rows)






On Sun, 20 Jun 2021 at 18:36, Vijaykumar Jain <vijaykumarjain.github@gmail.com> wrote:

I think you need to load the script to make use of the functions.
where it says
-- Load the TAP functions.


This was a wrong suggestion. sorry.
i'll try to reproduce what resulted in functions not getting loaded in your case.
 
--
Thanks,
Vijay
Mumbai, India

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

Предыдущее
От: Vijaykumar Jain
Дата:
Сообщение: Re: pgTAP installation
Следующее
От: Vijaykumar Jain
Дата:
Сообщение: Re: pgTAP installation