Skip to content

Comments

Trait TypmodInOutFuncs for input(input, oid, typmod) function#1878

Closed
KenjiBrown wants to merge 5 commits intopgcentralfoundation:developfrom
SoftwareLibreMx:KBrown/TypmodInOutFuncs
Closed

Trait TypmodInOutFuncs for input(input, oid, typmod) function#1878
KenjiBrown wants to merge 5 commits intopgcentralfoundation:developfrom
SoftwareLibreMx:KBrown/TypmodInOutFuncs

Conversation

@KenjiBrown
Copy link

@KenjiBrown KenjiBrown commented Sep 25, 2024

https://www.postgresql.org/docs/current/sql-createtype.html

The input function can be declared as taking one argument of type cstring, or as taking three arguments of types cstring, oid, integer. The first argument is the input text as a C string, the second argument is the type's own OID (except for array types, which instead receive their element type's OID), and the third is the typmod of the destination column, if known (-1 will be passed if not).

This trait allows for the input function to take three arguments...

@KenjiBrown KenjiBrown marked this pull request as draft September 25, 2024 05:28
@KenjiBrown
Copy link
Author

Still work in progress.

@eeeebbbbrrrr
Copy link
Contributor

Hi @KenjiBrown. I'm going to close this PR. Progress here seems to have stalled. If you decide to come back to working on this, feel free to reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants