Skip to content

Commit

Permalink
Describe the data row size limitation.
Browse files Browse the repository at this point in the history
  • Loading branch information
KayEss committed Jun 1, 2017
1 parent 7cd298b commit 43de661
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/pgasio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,5 @@ Contains a block of record data fetched from a socket. It owns a large slab of m

The `query` function can be used to send a query to Postgres. This returns a `resultset` instance from which `recordset`s can be fetched. The `recordset` will deliver `record_block` instances (see [`record_block.hpp`](./record_block.hpp#L9)) from which rows can be decoded using the information in the `columne_meta` structures held by the `recordset`.

Because of the way the `recordset` creates the `record_block`s that it returns there is a [limit of 4MB per data row at the moment](https://github.com/KayEss/pgasio/issues/3). The maximum size is due to the default size of the `record_block` memory allocation.

0 comments on commit 43de661

Please sign in to comment.