Replies: 1 comment
-
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.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
(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