Feat/skip and readme#196
Closed
pyramation wants to merge 10 commits into
Closed
Conversation
- pgsql-deparser@17.8.5 - pgsql-parser@17.7.7 - @pgsql/cli@1.31.7 - @pgsql/transform@17.7.1 - @pgsql/utils@17.7.6
- Remove duplicate 'GENERATED' and 'AS IDENTITY' text in AT_AddIdentity case - Fix sequence name formatting to use 'SEQUENCE NAME schema.table' format - Handle NO MINVALUE/NO MAXVALUE cases when arg is null in CONSTR_IDENTITY - Fixes __tests__/kitchen-sink/original-alter-alter-table-column.test.ts Co-Authored-By: Dan Lynch <pyramation@gmail.com>
- Format each ALTER TABLE clause on its own line when pretty: true
- Enhanced CONSTR_IDENTITY formatting with proper indentation for sequence options
- Each sequence option appears on its own line with consistent indentation
- Follows existing pretty formatting patterns used throughout the deparser
Example output:
ALTER TABLE public.table1
ALTER COLUMN id ADD GENERATED ALWAYS AS IDENTITY (
SEQUENCE NAME public.table1
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1
)
Co-Authored-By: Dan Lynch <pyramation@gmail.com>
- Add collClause handling to AT_AddColumn case in AlterTableCmd function - Follows same pattern as ColumnDef function for consistency - Fixes parse/deparse cycle for ALTER TABLE statements with COLLATE clauses Co-Authored-By: Dan Lynch <pyramation@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.