-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stapi-based speedtables definitions aren't regenerated if speedtables is updated #26
Comments
That's a good point. Let me dig into the code... I can see a couple of On Mon, Jun 4, 2012 at 3:29 PM, Karl Lehenbauer <
|
There is a check in stapi, actually. init_ctable uses an entire file to track the version number of speedtables and the version number (0.1) of stapi, so the candidate places to make the changes are clear and the main choices are to always increment the speetables package version for every change or to add some additional thing to generated/saved/compared version info, like perhaps the last git commit id. |
I was going to say it could use the same list as ctables but the I won't have time to work on this until after the 15th and possibly the
|
Sure, no worries. |
"Normal" speedtables are automatically regenerated if their definition changes or if speedtables itself is updated. Speedtables generated by stapi based on DDL read from PostgreSQL are not automatically regenerated.
This can result in strange errors if, for instance, a new version of Pgtcl is put in place. Stapi-based speedtables will reference the old while classic ctables-based speedtables will reference the new, and strange behaviors result.
Please make stapi C extensions be regenerated if speedtables are updated with a new version.
The text was updated successfully, but these errors were encountered: