# Pg\_replication\_slots error

**URL:** <https://community.cratedb.com/t/pg-replication-slots-error/1151>\
**Category:** Integrations\
**Created:** [June 15, 2022, 8:47am UTC](https://community.cratedb.com/t/pg-replication-slots-error/1151 "2022-06-15T08:47:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amr](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@amr](https://community.cratedb.com/u/amr)\
**Post date:** [June 15, 2022, 8:47am UTC](https://community.cratedb.com/t/pg-replication-slots-error/1151/1 "2022-06-15T08:47:16Z")

</div>

`error creating postgres connection e=db error: ERROR: Relation 'pg_replication_slots' unknown`

I have this error when I am trying to interact with crate/postgresql  
is this `pg_replication_slots` suported ? how can I configure it ?  
where does it exist this table pg\_replication\_slots ?

for example

```auto
postgres=# SELECT pg_create_logical_replication_slot('crate', 'pgoutput');
psql -c "select * from pg_create_physical_replication_slot('crate');"

```

---

<div class="post-metadata">

**Author:** ![proddata](https://sea2.discourse-cdn.com/flex020/user_avatar/community.cratedb.com/proddata/32/1379_2.png) [@proddata](https://community.cratedb.com/u/proddata)\
**Post date:** [June 15, 2022, 8:52am UTC](https://community.cratedb.com/t/pg-replication-slots-error/1151/2 "2022-06-15T08:52:07Z")

</div>

> [@amr](#):
>
> pg\_create\_logical\_replication\_slot

Hi @amr

Are you trying to replicate data between CrateDB and a PostgreSQL Server using logical replication?  
That is unfortunately not possible and as far as I know also not planned, as the mechanism used are quite different.

best regards

---

<div class="post-metadata">

**Author:** ![amr](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@amr](https://community.cratedb.com/u/amr)\
**Post date:** [June 15, 2022, 12:22pm UTC](https://community.cratedb.com/t/pg-replication-slots-error/1151/3 "2022-06-15T12:22:57Z")

</div>

I am trying to interact with postgres using fluvio

```auto
$ docker run -d --name fluvio-connect-postgres --net postgres-net -v "$HOME/.fluvio/config:/home/fluvio/.fluvio/config" infinyon/fluvio-connect-postgres-source -- --url=postgres://postgres:mysecretpassword@postgres-leader:5432 --publication=fluvio --slot=fluvio --fluvio-topic=postgres

```

but i couldn’t normally the connection direct with postgres it works.
