PostgreSQL Constraints and Foreign Keys - Dropping Tables
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Pgsql-admin <pgsql-admin@xxxxxxxxxxxxxxxxxxxx>
- Subject: PostgreSQL Constraints and Foreign Keys - Dropping Tables
- From: Sbob <sbob@xxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 8 Dec 2022 14:36:27 -0700
- Feedback-id: i374947ac:Fastmail
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1
I just saw a post indicating that PostgreSQL Foreign Keys and
Constraints are actually managed via triggers, therefore instead of
doing a DROP TABLE CASCADE I could just disable triggers.
Is this true?
If so it 'feels' like there may be dangerous side effects, any thoughts
on any cautions and gotcha's to this approach?
Thanks in advance
[Index of Archives]
[Postgresql Home]
[Postgresql General]
[Postgresql Performance]
[Postgresql PHP]
[Postgresql Jobs]
[PHP Users]
[PHP Databases]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[PHP Databases]
[Yosemite Forum]