Re: pgTAP installation - Mailing list pgsql-general

From Vijaykumar Jain
Subject Re: pgTAP installation
Date
Msg-id CAM+6J94xJyHaM7g=z3LQQzF7UwBcj5vhgwm6tvthxFMZMHe68A@mail.gmail.com
Whole thread Raw
In response to Re: pgTAP installation  (Vijaykumar Jain <vijaykumarjain.github@gmail.com>)
Responses Re: pgTAP installation
List 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 by date:

Previous
From: Vijaykumar Jain
Date:
Subject: Re: pgTAP installation
Next
From: Vijaykumar Jain
Date:
Subject: Re: pgTAP installation