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.git...@gmail.com> wrote:

>
> I think you need to load the script to make use of the functions.
> pgTAP: Documentation <https://pgtap.org/documentation.html#installation>
> 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

Reply via email to