© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
S
Supabase
•
4y ago
•
9 replies
Dan H
Something's funky with Postgres Triggers
Hi Folks
, when trying to create a trigger if I use
CREATE OR REPLACE TRIGGER
CREATE OR REPLACE TRIGGER
there
's a syntax error for
TRIGGER
TRIGGER
but if I remove
OR REPLACE
OR REPLACE
then it works perfectly
.
According to
SELECT version()
SELECT version()
I
'm using postgres 14 so I don
't understand why it
's not working
.
Supabase Cloud
Supabase
Join
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Postgres triggers
S
Supabase / help-and-questions
4y ago
Triggers disable realtime?
S
Supabase / help-and-questions
4y ago
Database restoration triggers
S
Supabase / help-and-questions
4mo ago
triggers in database
S
Supabase / help-and-questions
3y ago