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. |
BetaWas this translation helpful?Give feedback.
1 reply
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
(Also asked this on discord, but it seems quite quiet)
Now I get structs for the table (useful) and the partitions (useless)
BetaWas this translation helpful?Give feedback.
All reactions