parallel-processing multiple similar query tasks - any example?

Shaozhong SHI <shishaozhong@gmail.com>

From: Shaozhong SHI <shishaozhong@gmail.com>
To: pgsql-general <pgsql-general@lists.postgresql.org>
Date: 2022-04-27T23:34:38Z
Lists: pgsql-general
multiple similar query tasks are as follows:

select * from a_table where country ='UK'
select * from a_table where country='France'
and so on

How best to parallel-processing such types of multiple similar query tasks?

Any example available?

Regards,

David