Skip to content

Commit

Permalink
fixup rename
Browse files Browse the repository at this point in the history
  • Loading branch information
damien committed Sep 12, 2024
1 parent 903ddfd commit 9d6bf7e
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#LICENSE All rights reserved.
#LICENSE
#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file.

[workspace]
resolver = "2"
members = [
Expand All @@ -32,7 +32,7 @@ exclude = [
"pgrx-examples/custom_types",
"pgrx-examples/custom_sql",
"pgrx-examples/datetime",
"pgrx-examples/decoder",
"pgrx-examples/wal_decoder",
"pgrx-examples/errors",
"pgrx-examples/nostd",
"pgrx-examples/numeric",
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "decoder"
name = "wal_decoder"
version = "0.0.0"
edition = "2021"

[lib]
crate-type = ["cdylib", "lib"]

[[bin]]
name = "pgrx_embed_decoder"
name = "pgrx_embed_wal_decoder"
path = "./src/bin/pgrx_embed.rs"

[features]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ In order to use this extension with a cargo-pgrx managed instance, you'll
need to add the configuration below in "$PGRX_HOME/data-$PGVER/postgresql.conf".

``` ini
shared_preload_libraries = 'decoder'
shared_preload_libraries = 'wal_decoder'
wal_level = logical
```

Expand All @@ -37,7 +37,7 @@ CREATE PUBLICATION gotham_pub FOR TABLE person;
2- Create a replication slot fed by the decoder

``` sql
SELECT pg_create_logical_replication_slot('gotham_slot', 'decoder');
SELECT pg_create_logical_replication_slot('gotham_slot', 'wal_decoder');
```

3- Consume the changes from the replication slot
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
comment = 'decoder: Created by pgrx'
comment = 'wal_decoder: Created by pgrx'
default_version = '@CARGO_VERSION@'
module_pathname = '$libdir/decoder'
module_pathname = '$libdir/wal_decoder'
relocatable = false
superuser = true
trusted = false

0 comments on commit 9d6bf7e

Please sign in to comment.