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

WIP policy_is_permissive, policy_is_restrictive #344

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

iamed2
Copy link

@iamed2 iamed2 commented Nov 29, 2024

Closes #343 (when complete)

This is as far as I got with the time I had today.

Not sure what to make of this error:

===(    1499;0    0/459   0/72     0/1105  117/270  104/408    0... )===psql:test/sql/policy.sql:642: ERROR:  return type mismatch in function declared to return text
DETAIL:  Function's final statement must be SELECT or INSERT/UPDATE/DELETE RETURNING.
CONTEXT:  SQL function "policy_is_restrictive" during startup
test/sql/policy.sql ........... Dubious, test returned 3 (wstat 768, 0x300)

I'm sure I made an error but I'm not sure where.

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.

Feature: policy_is_permissive to check permissive/restrictive
1 participant