Skip to content

Commit

Permalink
Describe the use of the return value of fit_to_copy_get
Browse files Browse the repository at this point in the history
  • Loading branch information
larskanis committed Mar 23, 2023
1 parent 31346bb commit 3b80033
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ext/pg_type_map_in_ruby.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,9 @@ pg_tmir_typecast_query_param( VALUE self, VALUE param_value, VALUE field )
* This method is called, when a type map is used for decoding copy data,
* before the value is casted.
*
* Should return the expected number of columns or 0 if the number of columns is unknown.
* This number is only used for memory pre-allocation.
*
*/
static VALUE pg_tmir_fit_to_copy_get_dummy( VALUE self ){}
#endif
Expand Down

0 comments on commit 3b80033

Please sign in to comment.