From d2182106895a42677c0784270fcd0efa2bfa06de Mon Sep 17 00:00:00 2001 From: "Eric B. Ridge" Date: Fri, 14 Aug 2020 20:04:00 -0600 Subject: [PATCH] docs nogha --- pgx-examples/custom_types/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgx-examples/custom_types/README.md b/pgx-examples/custom_types/README.md index 308200d28..86e50a406 100644 --- a/pgx-examples/custom_types/README.md +++ b/pgx-examples/custom_types/README.md @@ -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`. This formulation ensures that the datum value from Postgres is properly mapped