Skip to content

Comments

feat: merge my pg_interval_2 fork into mainline#78

Open
sunng87 wants to merge 31 commits intopiperRyan:masterfrom
sunng87:master
Open

feat: merge my pg_interval_2 fork into mainline#78
sunng87 wants to merge 31 commits intopiperRyan:masterfrom
sunng87:master

Conversation

@sunng87
Copy link
Collaborator

@sunng87 sunng87 commented Feb 5, 2026

This fork includes features:

  • Postgres verbose encoding/decoding
  • Parse sql format
  • Error type update

sunng87 and others added 29 commits January 21, 2026 16:03
feat: add parse_sql for interval
feat: implement Error for ParseError
feat: resolve several postgres style roundtrip issues
@sunng87 sunng87 requested a review from piperRyan February 5, 2026 04:02
- name: Publish to Crates.io
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: cargo publish --token $CARGO_REGISTRY_TOKEN
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Is this action to publish every commit from master branch?

Copy link
Owner

@piperRyan piperRyan Feb 12, 2026

Choose a reason for hiding this comment

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

Hey @sunng87 yes it was/is. On a side note I do have a local branch that I was planing to get merged in to switch it to manual approval + cargo smart release if you want that, but how do you want to CD part to work? I can help get that part done.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It would be nice if we trigger the cargo publish when a tag is pushed.

see this for example: https://github.com/GreptimeTeam/promql-parser/blob/main/.github/workflows/release.yml

false,
);
format!("{} {:+} {}", year_month, self.days, time_interval)
let has_negative = self.years < 0
Copy link
Owner

@piperRyan piperRyan Feb 14, 2026

Choose a reason for hiding this comment

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

suggestion: let's introduce a helper function like is_zeroed to make this a bit and other sections a bit more readable.

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