# Can we do streaming and logical replication in postgresql at same time?

**URL:** <https://forums.percona.com/t/can-we-do-streaming-and-logical-replication-in-postgresql-at-same-time/16096>\
**Category:** PostgreSQL\
**Tags:** postgresql\
**Created:** [June 13, 2022, 7:22am UTC](https://forums.percona.com/t/can-we-do-streaming-and-logical-replication-in-postgresql-at-same-time/16096 "2022-06-13T07:22:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harshit\_Gupta](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/harshit_gupta/32/6735_2.png) [@Harshit\_Gupta](https://forums.percona.com/u/Harshit_Gupta)\
**Post date:** [June 13, 2022, 7:22am UTC](https://forums.percona.com/t/can-we-do-streaming-and-logical-replication-in-postgresql-at-same-time/16096/1 "2022-06-13T07:22:40Z")

</div>

Hi,  
I want a slave to replicate the data from master using streaming replication and want that slave to act as a publisher to other slaves and do logical replication between them. Is this setup possible?

---

<div class="post-metadata">

**Author:** ![Robert\_Bernier](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/robert_bernier/32/1367_2.png) [@Robert\_Bernier](https://forums.percona.com/u/Robert_Bernier)\
**Post date:** [June 13, 2022, 2:47pm UTC](https://forums.percona.com/t/can-we-do-streaming-and-logical-replication-in-postgresql-at-same-time/16096/2 "2022-06-13T14:47:54Z")

</div>

Hi,

PostgreSQL at this time does not have the ability to logically replicate from a slave. Instead you’ll have to replicate from the master.

---

<div class="post-metadata">

**Author:** ![Harshit\_Gupta](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/harshit_gupta/32/6735_2.png) [@Harshit\_Gupta](https://forums.percona.com/u/Harshit_Gupta)\
**Post date:** [June 13, 2022, 5:02pm UTC](https://forums.percona.com/t/can-we-do-streaming-and-logical-replication-in-postgresql-at-same-time/16096/3 "2022-06-13T17:02:08Z")

</div>

Hi Robert,

Thanks for the guidance. Will try that strategy.

Regards,  
Harshit Gupta
