Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add parser support for PostgreSQL's ENCODE() and DECODE() functions #16525

Open
lukaseder opened this issue Apr 2, 2024 · 0 comments
Open

Add parser support for PostgreSQL's ENCODE() and DECODE() functions #16525

lukaseder opened this issue Apr 2, 2024 · 0 comments

Comments

@lukaseder
Copy link
Member

In PostgreSQL, there are 2 functions called ENCODE() and DECODE():

For example:

  • encode ( bytes bytea, format text ) → text
  • decode ( string text, format text ) → bytea

We should support parsing these with hard-coded format recognition. These 2 could be recognised:

  • 'hex'
  • 'base64'

Specifically the latter would be worth supporting in jOOQ in general.

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

No branches or pull requests

1 participant