Skip to content

PostgreSQL: Support typed tables in CREATE TABLE - #2835

Open
LucaCappelletti94 wants to merge 2 commits into
mainfrom
upstream/pg-create-table-of
Open

LucaCappelletti94 wants to merge 2 commits into
mainfrom
upstream/pg-create-table-of

Conversation

@LucaCappelletti94

Copy link
Copy Markdown
Contributor

CREATE TABLE c OF t failed with Expected: end of statement, found: OF, although PostgreSQL documents typed tables as a form of CREATE TABLE.

Implemented adding a new CreateTable::of_type attribute. It is yet another pg_dump finding.

@LucaCappelletti94
LucaCappelletti94 force-pushed the upstream/pg-create-table-of branch from cf1f638 to cf5b8a6 Compare November 6, 2026 16:59
@codecov-commenter

codecov-commenter commented Nov 6, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.45455% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 83.21%. Comparing base (a60ca82) to head (f5f31a1).

Files with missing lines Patch % Lines
src/ast/spans.rs 66.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2835      +/-   ##
==========================================
+ Coverage   83.16%   83.21%   +0.05%     
==========================================
  Files          42       42              
  Lines       36420    36437      +17     
  Branches    36420    36437      +17     
==========================================
+ Hits        30287    30322      +35     
+ Misses       2636     2612      -24     
- Partials     3497     3503       +6     

☔ 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.

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.

2 participants