Re: Unit tests for SLRU - Mailing list pgsql-hackers

From Maxim Orlov
Subject Re: Unit tests for SLRU
Date
Msg-id CACG=ezb4-Ai+AYfsi-6-9OG75zS7VMDNpG1BipY_+-5_GHM==Q@mail.gmail.com
Whole thread Raw
In response to Re: Unit tests for SLRU  (Aleksander Alekseev <aleksander@timescale.com>)
Responses Re: Unit tests for SLRU  (Aleksander Alekseev <aleksander@timescale.com>)
List pgsql-hackers
Again, I don't have a strong opinion here. If you insist, I will place the tests to regress.c.

It is up to committer to decide, but I think it would be good to place tests in regression.
In my opinion, many things from core may be used by extensions. And then it is up to extension authors to make relevant tests.

For me, it's enough to make a reasonable test coverage for SLRU without investing too much effort into generalization. 

--
Best regards,
Maxim Orlov.

pgsql-hackers by date:

Previous
From: gkokolatos@pm.me
Date:
Subject: Re: Add LZ4 compression in pg_dump
Next
From: David Rowley
Date:
Subject: Re: Window Function "Run Conditions"