jeroenrinzema / psql-wire

PostgreSQL server wire protocol. Build your own server and start serving connections.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Limit the maximum number of records to be returned.

github-actions opened this issue · comments

Maximum number of limit to return, if portal contains a
query that returns limit (ignored otherwise). Zero denotes “no limit”.

Line: 426

psql-wire//command.go

Lines 423 to 433 in 3dbc832

return err
}
// TODO: Limit the maximum number of records to be returned.
//
// Maximum number of limit to return, if portal contains a
// query that returns limit (ignored otherwise). Zero denotes “no limit”.
limit, err := reader.GetUint32()
if err != nil {
return err
}