Hi Garret, Thank you for your report. That is indeed curious. Some things that might be different between your setups:
- You might be using a different user (with different grants) when generating code? - You might have deleted the pg_catalog schema from your database instance, but your colleague didn't? In any case, you should probably specify all the <inputSchema/> elements individually and exclude the pg_catalog. This is documented here: http://www.jooq.org/doc/latest/manual/code-generation/codegen-advanced <!-- A configuration element to configure several input and/or output schemata for jooq-meta, in case you're using jooq-meta in a multi- schema environment. This cannot be combined with the above inputSchema / outputSchema --> <schemata> <schema> <inputSchema>...</inputSchema> <outputSchema>...</outputSchema> </schema> [ <schema>...</schema> ... ] </schemata> What's curious, though, is the fact that the two additional files are located at the root of the output subtree. You mean that the layout is: /output/chasdb /output/chadb_user /output/PgCatalog.java /output/Routines.java ? Best Regards, Lukas 2015-09-30 16:18 GMT+02:00 Garret Wilson <[email protected]>: > My colleague and I are both working from the same POM. We think we are > generating our PostgreSQL databases from the same SQL. But our jOOQ schema > output (defined in the POM using org.jooq.util.DefaultGenerator) is > slightly different. > > When I generate the schema, I only get the chasdb and chasdb_user > subdirectories. When he generates the schema, two additional files are > produced in the root of the output subtree: PgCatalog.java and > Routines.java. I have no idea where those extra files are coming from. > > I'll note that I created my PostgreSQL cluster (data directory) using > something like this: > > "C:\Program Files\PostgreSQL\9.3\bin\initdb.exe" -A md5 -U postgres -W -D > "D:\example\postgres\data" > > If you could tell me what those two files represent and where they might > be coming from, maybe I can figure out what makes my configuration > different from his. > > Thanks, > > Garret > > -- > You received this message because you are subscribed to the Google Groups > "jOOQ User Group" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
