Skip to content
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

Release #25

Merged
merged 20 commits into from
Sep 22, 2015
Merged

Release #25

merged 20 commits into from
Sep 22, 2015

Conversation

snaga
Copy link
Contributor

@snaga snaga commented Sep 22, 2015

SQL Firewall 0.8.1.

snaga and others added 20 commits August 29, 2015 05:06
Fix sql_firewall_import_rule() to check file status before importing a rule file. #2
Previously, JumbleRangeTable() used relation oid on query jumbling,
and it resulted different queryid when relid gets changed.

Now, JumbleRangeTable() uses relation name instead of relid
to calculate queryid, so queryid could be the same when table gets
dropped and created with the same name.
Fix JumbleRangeTable() to jumble query with relation name. #13
Fix to suppress `unused-const-variable' warning. #6

Eliminate unused code to suppress `unused-const-variable' warning caught on OS X.
FIX small typo, missing char
…e oid.

To keep the same queryid after re-creating (user) functions,
JumbleExpr() has to use function name instead of the oid.

Although JumbleExpr() still depends on several oids of other type of
database objects, such as window functions or aggregation functions,
using user function name and table name seems to be good enough so far.

See /* FIXME */ comments for those objects which still use oid.
Fix JumbleExpr() to use function name on query jumbling instead of the oid.
JumbleQuery() is exposed to other modules to calculate QueryId,
and to keep it the same value in the different extensions.
Fix JumbleQuery() to be exposed to other extensions.
Compatibility about major versions and rule files explained.
Fix README to add new compatibility section.
snaga added a commit that referenced this pull request Sep 22, 2015
@snaga snaga merged commit 0197d2a into master Sep 22, 2015
@snaga snaga deleted the release branch September 22, 2015 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants