Skip to content

Commit 084bc26

Browse files
Fix query in Hyperscale sharding tutorial
The query to fetch node info from `pg_dist_node` only selects the `nodeid` column, but the results shown include the `nodename` column as well. This PR adds the `nodename` column to make the query text and the query result consistent.
1 parent aa07dd3 commit 084bc26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/postgresql/tutorial-hyperscale-shard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ can check the active workers in the
4646
[pg_dist_node](reference-hyperscale-metadata.md#worker-node-table) table.
4747

4848
```sql
49-
select nodeid from pg_dist_node where isactive;
49+
select nodeid, nodename from pg_dist_node where isactive;
5050
```
5151
```
5252
nodeid | nodename

0 commit comments

Comments
 (0)