Skip to content

Commit

Permalink
docs nogha
Browse files Browse the repository at this point in the history
  • Loading branch information
eeeebbbbrrrr committed Aug 15, 2020
1 parent a599758 commit d218210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pgx-examples/custom_types/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ blob within a Postgres `varlena` with either a short 1-byte or a full 4-byte hea
size of the Rust struct.

These types must implement the text input/output functions themselves, which requires
an additional annotation on the type (`#[inoutfuncs]`).
an additional annotation on the type (`#[pgvarlena_inoutfuncs]`).

When using this type in function arguments and return values, it is required that you use
`PgVarlena<T>`. This formulation ensures that the datum value from Postgres is properly mapped
Expand Down

0 comments on commit d218210

Please sign in to comment.