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

Postgres support (triggers) #67

Open
17 of 36 tasks
Tracked by #40
nene opened this issue Feb 2, 2024 · 0 comments
Open
17 of 36 tasks
Tracked by #40

Postgres support (triggers) #67

nene opened this issue Feb 2, 2024 · 0 comments

Comments

@nene
Copy link
Owner

nene commented Feb 2, 2024

  • CREATE TRIGGER
    • OR REPLACE
    • CONSTRAINT
    • BEFORE | AFTER | INSTEAD OF
    • event [ OR ... ]
    • event types:
      • INSERT
      • UPDATE [ OF column_name [, ... ] ]
      • DELETE
      • TRUNCATE
    • ON table_name
    • FROM referenced_table_name
    • NOT DEFERRABLE | [ DEFERRABLE ] [ INITIALLY IMMEDIATE | INITIALLY DEFERRED ]
    • REFERENCING { { OLD | NEW } TABLE [ AS ] transition_relation_name } [ ... ]
    • FOR [ EACH ] { ROW | STATEMENT }
    • WHEN ( condition )
    • EXECUTE { FUNCTION | PROCEDURE } function_name ( arguments )
  • CREATE EVENT TRIGGER
    • ON event
    • WHEN filter_variable IN (filter_value [, ... ]) [ AND ... ]
    • EXECUTE { FUNCTION | PROCEDURE } function_name()
  • ALTER TRIGGER
    • name ON table_name
    • RENAME TO new_name
    • [ NO ] DEPENDS ON EXTENSION extension_name
  • ALTER EVENT TRIGGER
    • name
    • DISABLE
    • ENABLE [ REPLICA | ALWAYS ]
    • OWNER TO { new_owner | CURRENT_ROLE | CURRENT_USER | SESSION_USER }
    • RENAME TO new_name
  • DROP TRIGGER
    • IF EXISTS
    • name ON table_name
    • CASCADE | RESTRICT
  • DROP EVENT TRIGGER
@nene nene mentioned this issue Feb 2, 2024
16 tasks
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

No branches or pull requests

1 participant