-
Notifications
You must be signed in to change notification settings - Fork 923
-
(Also asked this on discord, but it seems quite quiet)
Now I get structs for the table (useful) and the partitions (useless)
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment 1 reply
-
I actually wrapped partition creation in a PL/PgSQL function and since I no longer have CREATE TABLE in the schema, sqlc doesn't create the useless structs. But I guess if sqlc did database introspection instead of parsing the schema file, the problem might return.
Beta Was this translation helpful? Give feedback.
All reactions
1 reply
-
And now I'm facing this again. Any way to ignore certain tables by regex?
Beta Was this translation helpful? Give feedback.
All reactions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment