Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6691829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:47:51+00:00 2026-05-26T05:47:51+00:00

In PostgreSQl 8.x to disable triggers I do something like: ALTER TABLE table DISABLE

  • 0

In PostgreSQl 8.x to disable triggers I do something like:

ALTER TABLE table DISABLE TRIGGER ALL;

When I do this in PostgreSQL 9 I get the following:

my_database=> ALTER TABLE my_table DISABLE TRIGGER ALL;
ERROR:  permission denied: "RI_ConstraintTrigger_25366" is a system trigger

PS: This table was created by the user that is running this command.

Any clues on this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T05:47:52+00:00Added an answer on May 26, 2026 at 5:47 am

    Some triggers are added automatically to enforce constraints, and those can’t be disabled unless you are a superuser. If you only want to disable the normal triggers which you have added then do this:

    ALTER TABLE table DISABLE TRIGGER USER;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In Postgresql, if I do ALTER TABLE mytable DISBLE TRIGGERS ALL , all triggers
In postgresql a query in the querylog gets something like this: 2009-02-05 00:12:27 CET
With PostgreSQL and MySQL it is all right to do something like SELECT *
In PostgreSQL 8.3, let's say I have a table called widgets with the following:
I have this table in PostgreSQL: appid | appname | apptype | creationtime |
In PostgreSQL, there is this very useful string_agg function, that allows query like: SELECT
In Postgresql 8 why this is ok select * from prod where code like
Is there a way to disable the Postgresql translation of messages? I´m running my
PostgreSQL is about to make me punch small animals. I'm doing the following SQL
In PostgreSQL 8.3 database I have bookings table referencing booking_transactions table by ID. So

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.