mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-08 22:12:56 +00:00
What we know about the key via added `pagectl key $key` command:
- debug formatting
- shard placement when `--shard-count` is specified
- different boolean queries in `key.rs`
- aux files v2
Example:
```
$ cargo run -qp pagectl -- key 000000063F00004005000060270000100E2C
parsed from hex: 000000063F00004005000060270000100E2C:
Key { field1: 0, field2: 1599, field3: 16389, field4: 24615, field5: 0, field6: 1052204 }
rel_block: true
rel_vm_block: false
rel_fsm_block: false
slru_block: false
inherited: true
rel_size: false
slru_segment_size: false
recognized kind: None
```
29 lines
770 B
TOML
29 lines
770 B
TOML
[package]
|
|
name = "pagectl"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
bytes.workspace = true
|
|
camino.workspace = true
|
|
clap = { workspace = true, features = ["string"] }
|
|
git-version.workspace = true
|
|
humantime.workspace = true
|
|
pageserver = { path = ".." }
|
|
pageserver_api.workspace = true
|
|
remote_storage = { path = "../../libs/remote_storage" }
|
|
postgres_ffi.workspace = true
|
|
thiserror.workspace = true
|
|
tokio.workspace = true
|
|
tokio-util.workspace = true
|
|
toml_edit.workspace = true
|
|
utils.workspace = true
|
|
svg_fmt.workspace = true
|
|
workspace_hack.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|