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

sql/parser: move pg builtins to their own file #14494

Merged
merged 3 commits into from
Mar 31, 2017

Conversation

jordanlewis
Copy link
Member

@jordanlewis jordanlewis commented Mar 30, 2017

Having the Postgres builtins all sit in builtins.go was getting messy. Now they all live in a new file, pg_builtins.go.

Soon we will need to add a lot more compatibility builtins to handle #13470 and #12526. These will be generated automatically, but it'll be clearer if all of that functionality lives in this new file, similar to how the aggregate builtin generators live in their own file.


This change is Reviewable

They're all categoryCompatibility, so set that in a loop rather than one
by one.
Copy link
Contributor

@knz knz left a comment

Choose a reason for hiding this comment

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

LGTM, assuming the work was indeed copy-paste.
(I would really like some diff tool that shows migrations across files properly!!)

@jordanlewis
Copy link
Member Author

it was indeed. TFTR!

@jordanlewis jordanlewis merged commit 166678b into cockroachdb:master Mar 31, 2017
@jordanlewis jordanlewis deleted the pg-builtins branch March 31, 2017 01:26
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