Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
constructive-io
/
pgsql-parser
Public
Notifications
You must be signed in to change notification settings
Fork
33
Star
232
Code
Issues
16
Pull requests
4
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Context/indent
- #170
#170
Merged
pyramation
merged 10 commits into
main
constructive-io/pgsql-parser:main
from
context/indent
constructive-io/pgsql-parser:context/indent
Copy head branch name to clipboard
Jun 27, 2025
Conversation
Commits
10
聽(10)
Checks
Files changed
Merged
Context/indent
#170
pyramation
merged 10 commits into
main
constructive-io/pgsql-parser:main
from
context/indent
constructive-io/pgsql-parser:context/indent
Copy head branch name to clipboard
Commits
Commits on Jun 27, 2025
refactor: replace parentNodeTypes usage with DeparserContext.spawn() method
Show description for d8e1041
pyramation
committed
d8e1041
View commit details
Copy full SHA for d8e1041
Browse repository at this point
refactor: update visit method to spawn context for every node type
Show description for 3a97f5c
pyramation
committed
3a97f5c
View commit details
Copy full SHA for 3a97f5c
Browse repository at this point
fix: update RenameStmt to pass objtype when spawning AlterTypeStmt context
Show description for 14326c3
pyramation
committed
14326c3
View commit details
Copy full SHA for 14326c3
Browse repository at this point
refactor: group AlterTypeStmt and objtype conditions in RangeVar for better readability
Show description for 8c1f29c
pyramation
committed
8c1f29c
View commit details
Copy full SHA for 8c1f29c
Browse repository at this point
fix: update formatWindowFrame and deparseOperatorName to accept context parameters
Show description for 18236c0
pyramation
committed
18236c0
View commit details
Copy full SHA for 18236c0
Browse repository at this point
refactor: remove automatic context spawning from visit() method
Show description for 04d1885
pyramation
committed
04d1885
View commit details
Copy full SHA for 04d1885
Browse repository at this point
refactor: move SqlFormatter from direct import to DeparserContext property
Show description for c7b881e
pyramation
committed
c7b881e
View commit details
Copy full SHA for c7b881e
Browse repository at this point
feat: make SqlFormatter private and add context-aware indentation
Show description for 2a76b3d
pyramation
committed
2a76b3d
View commit details
Copy full SHA for 2a76b3d
Browse repository at this point
fix: improve CREATE TABLE constraint indentation using proper context indentLevel
Show description for 22d5915
pyramation
committed
22d5915
View commit details
Copy full SHA for 22d5915
Browse repository at this point
feat: improve indentation for boolean expressions and SELECT clauses
Show description for 6cc2f4e
pyramation
committed
6cc2f4e
View commit details
Copy full SHA for 6cc2f4e
Browse repository at this point
You can鈥檛 perform that action at this time.