Skip to content

Commit 2a2de43

Browse files
Merge pull request #48 from rustprooflabs/fix-partition-queries
Remove casting OID to BIGINT in partition children query
2 parents c835b27 + 3ef4d15 commit 2a2de43

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pgdd"
3-
version = "0.5.1"
3+
version = "0.5.2"
44
edition = "2018"
55
description = "In-database (PostgreSQL) data dictionary providing database introspection via standard SQL query syntax."
66

docs/src/quick-start.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ The latest Ubuntu LTS (currently Jammy, 22.04) and the "PostGIS" image
1111
(currently Debian 11). The PostGIS image is provided to allow inclusion
1212
in the [PgOSM Flex](https://pgosm-flex.com) project's Docker image.
1313

14-
Download and install for PgDD 0.5.1 for Postgres 16 on Ubuntu 22.04.
14+
Download and install for PgDD 0.5.2 for Postgres 16 on Ubuntu 22.04.
1515

1616
```bash
17-
wget https://github.com/rustprooflabs/pgdd/releases/download/0.5.1/pgdd_0.5.1_focal_pg16_amd64.deb
18-
sudo dpkg -i ./pgdd_0.5.1_jammy_pg16_amd64.deb
17+
wget https://github.com/rustprooflabs/pgdd/releases/download/0.5.2/pgdd_0.5.2_focal_pg16_amd64.deb
18+
sudo dpkg -i ./pgdd_0.5.2_jammy_pg16_amd64.deb
1919
```
2020

2121
Create the extension in your database.

pgdd.control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
comment = 'An in-database data dictionary providing database introspection via standard SQL query syntax. Developed using pgx (https://github.com/zombodb/pgx).'
2-
default_version = '0.5.1'
2+
default_version = '0.5.2'
33
module_pathname = '$libdir/pgdd'
44
relocatable = false
55
schema = dd

src/sql/function_query/partition-child.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
SELECT c.oid::BIGINT,
1+
SELECT c.oid,
22
ns.nspname::TEXT AS s_name,
33
c.relname::TEXT AS t_name,
4-
i.inhparent::BIGINT AS parent_oid,
4+
i.inhparent AS parent_oid,
55
i.inhparent::regclass::TEXT AS parent_name,
66
c.relispartition::BOOLEAN AS declarative_partition,
77
pg_catalog.pg_get_expr(c.relpartbound, c.oid)::TEXT

0 commit comments

Comments
 (0)