diff --git a/doc/guide/api.xml b/doc/guide/api.xml
index fbc1aa9b8f..71eb263d28 100644
--- a/doc/guide/api.xml
+++ b/doc/guide/api.xml
@@ -2521,7 +2521,7 @@ object appear only if specific field is set.
-reservation-get reference
+reservation-get-all referencereservation-get-all - Retrieve all host reservations for a specified subnet.Supported by: kea-dhcp4, kea-dhcp6
@@ -2576,7 +2576,7 @@ The reservation-get-all command may result in very large responses.
-reservation-get reference
+reservation-get-page referencereservation-get-page - Retrieve all host reservations for a specified subnet by pages.Supported by: kea-dhcp4, kea-dhcp6
diff --git a/doc/guide/hooks.xml b/doc/guide/hooks.xml
index 836c33a8dd..c3e340cfe1 100644
--- a/doc/guide/hooks.xml
+++ b/doc/guide/hooks.xml
@@ -1672,6 +1672,9 @@ An example result returned when the query was malformed:
For larger deployments, please consider using
reservation-get-page instead (see ).
+
+
+
For a reference, see .
@@ -1692,7 +1695,7 @@ An example result returned when the query was malformed:The first page is queried without source-index and from,
for next pages source-index and from should be set using
the preceeding result source-index and next. After the last page
- the returned list is empty and result 3 is returned.
+ the returned list is empty, count is 0 and result 3 is returned.
This command is more complex than
@@ -1702,7 +1705,9 @@ An example result returned when the query was malformed:
easier to use reservation-get-all (see
.
- For a reference, see .
+
+ For a reference, see .
+
diff --git a/src/lib/dhcpsrv/pgsql_host_data_source.cc b/src/lib/dhcpsrv/pgsql_host_data_source.cc
index e1ddb9c110..f92142398e 100644
--- a/src/lib/dhcpsrv/pgsql_host_data_source.cc
+++ b/src/lib/dhcpsrv/pgsql_host_data_source.cc
@@ -1772,8 +1772,8 @@ TaggedStatementArray tagged_statements = { {
// PgSqlHostDataSourceImpl::GET_HOST_SUBID4_PAGE
// Retrieves host information along with the DHCPv4 options associated with
// it. Left joining the dhcp4_options table results in multiple rows being
- // returned for the same host. The hosts are retrieved by subnet id, starting
- // from specified host id. Specified number of hosts is returned.
+ // returned for the same host. The hosts are retrieved by subnet id,
+ // starting from specified host id. Specified number of hosts is returned.
{3,
{ OID_INT8, OID_INT8, OID_INT8 },
"get_host_subid4_page",