Skip to content

Commit d425e20

Browse files
committed
Add comments to Coder#delimiter and #needs_quotation reg. binary coders
1 parent b77e86c commit d425e20

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/pg_coder.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@ pg_coder_flags_get(VALUE self)
364364
* Specifies whether the assigned #elements_type requires quotation marks to
365365
* be transferred safely. Encoding with #needs_quotation=false is somewhat
366366
* faster.
367+
* It is only used by text coders and ignored by binary coders.
367368
*
368369
* The default is +true+. This option is ignored for decoding of values.
369370
*/
@@ -397,6 +398,7 @@ pg_coder_needs_quotation_get(VALUE self)
397398
* Specifies the character that separates values within the composite type.
398399
* The default is a comma.
399400
* This must be a single one-byte character.
401+
* It is only used by text coders and ignored by binary coders.
400402
*/
401403
static VALUE
402404
pg_coder_delimiter_set(VALUE self, VALUE delimiter)

0 commit comments

Comments
 (0)