| From: | Vijaykumar Jain <vijaykumarjain(dot)github(at)gmail(dot)com> |
|---|---|
| To: | "Ray O'Donnell" <ray(at)rodonnell(dot)ie> |
| Cc: | PostgreSQL <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: pgTAP installation |
| Date: | 2021-06-20 13:11:57 |
| Message-ID: | CAM+6J94xJyHaM7g=z3LQQzF7UwBcj5vhgwm6tvthxFMZMHe68A@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
ignore,
I was wrong.
the script gets loaded by enabling the extension.
postgres(at)db:~/postgresql-14beta1/contrib/pgtap$ dropdb test
postgres(at)db:~/postgresql-14beta1/contrib/pgtap$
postgres(at)db:~/postgresql-14beta1/contrib/pgtap$ createdb test
postgres(at)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(dot)github(at)gmail(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Vijaykumar Jain | 2021-06-20 13:24:55 | Re: pgTAP installation |
| Previous Message | Vijaykumar Jain | 2021-06-20 13:06:08 | Re: pgTAP installation |