Skip to content

PostgreSQL: Support TRANSFORM in CREATE FUNCTION - #2827

Merged
LucaCappelletti94 merged 2 commits into
mainfrom
upstream/create-function-transform
Nov 28, 2026
Merged

LucaCappelletti94 merged 2 commits into
mainfrom
upstream/create-function-transform

Conversation

@LucaCappelletti94

Copy link
Copy Markdown
Contributor

The CREATE FUNCTION attribute loop now accepts one TRANSFORM list and stores its types in a new CreateFunction::transform_types field, empty when the attribute is absent. TRANSFORM joins the keyword list as a non-reserved keyword.

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

This should be the last missing option for CREATE FUNCTION, I hope.

@codecov-commenter

codecov-commenter commented Nov 4, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.60%. Comparing base (1983e49) to head (9cf69b5).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2827   +/-   ##
=======================================
  Coverage   83.60%   83.60%           
=======================================
  Files          42       42           
  Lines       35733    35751   +18     
  Branches    35733    35751   +18     
=======================================
+ Hits        29873    29891   +18     
  Misses       2418     2418           
  Partials     3442     3442           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@LucaCappelletti94
LucaCappelletti94 force-pushed the upstream/create-function-transform branch from 7f3a07d to 4619013 Compare November 4, 2026 18:36
@LucaCappelletti94
LucaCappelletti94 force-pushed the upstream/create-function-window branch from 2e4ab81 to 245858b Compare November 4, 2026 18:36

@s5dsn-eqee s5dsn-eqee left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@LucaCappelletti94

Copy link
Copy Markdown
Contributor Author

Thank you @s5dsn-eqee for reviewing the full stack of PRs, I will be merging them now.

cc @alamb

@LucaCappelletti94
LucaCappelletti94 added this pull request to the merge queue Nov 6, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 6, 2026
@LucaCappelletti94
LucaCappelletti94 added this pull request to the merge queue Nov 28, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 28, 2026
@LucaCappelletti94
LucaCappelletti94 removed this pull request from stack #2823 November 28, 2026 20:17
@LucaCappelletti94
LucaCappelletti94 changed the base branch from upstream/create-function-window to main November 28, 2026 20:17
@LucaCappelletti94
LucaCappelletti94 force-pushed the upstream/create-function-transform branch from 4619013 to 9cf69b5 Compare November 28, 2026 20:17
@LucaCappelletti94
LucaCappelletti94 added this pull request to the merge queue Nov 28, 2026
Merged via the queue into main with commit 3ac3cc3 Nov 28, 2026
10 checks passed
@LucaCappelletti94
LucaCappelletti94 deleted the upstream/create-function-transform branch November 28, 2026 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants