Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

drop_rule(7) [suse man page]

DROP 
RULE(7) SQL Commands DROP RULE(7) NAME
DROP RULE - remove a rewrite rule SYNOPSIS
DROP RULE [ IF EXISTS ] name ON relation [ CASCADE | RESTRICT ] DESCRIPTION
DROP RULE drops a rewrite rule. PARAMETERS
IF EXISTS Do not throw an error if the rule does not exist. A notice is issued in this case. name The name of the rule to drop. relation The name (optionally schema-qualified) of the table or view that the rule applies to. CASCADE Automatically drop objects that depend on the rule. RESTRICT Refuse to drop the rule if any objects depend on it. This is the default. EXAMPLES
To drop the rewrite rule newrule: DROP RULE newrule ON mytable; COMPATIBILITY
There is no DROP RULE statement in the SQL standard. SEE ALSO
CREATE RULE [create_rule(7)] SQL - Language Statements 2010-05-14 DROP RULE(7)

Check Out this Related Man Page

DROP 
TABLE(7) SQL Commands DROP TABLE(7) NAME
DROP TABLE - remove a table SYNOPSIS
DROP TABLE [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ] DESCRIPTION
DROP TABLE removes tables from the database. Only its owner can drop a table. To empty a table of rows without destroying the table, use DELETE [delete(7)] or TRUNCATE [truncate(7)]. DROP TABLE always removes any indexes, rules, triggers, and constraints that exist for the target table. However, to drop a table that is referenced by a view or a foreign-key constraint of another table, CASCADE must be specified. (CASCADE will remove a dependent view entirely, but in the foreign-key case it will only remove the foreign-key constraint, not the other table entirely.) PARAMETERS
IF EXISTS Do not throw an error if the table does not exist. A notice is issued in this case. name The name (optionally schema-qualified) of the table to drop. CASCADE Automatically drop objects that depend on the table (such as views). RESTRICT Refuse to drop the table if any objects depend on it. This is the default. EXAMPLES
To destroy two tables, films and distributors: DROP TABLE films, distributors; COMPATIBILITY
This command conforms to the SQL standard, except that the standard only allows one table to be dropped per command, and apart from the IF EXISTS option, which is a PostgreSQL extension. SEE ALSO
ALTER TABLE [alter_table(7)], CREATE TABLE [create_table(7)] SQL - Language Statements 2010-05-14 DROP TABLE(7)
Man Page

7 More Discussions You Might Find Interesting

1. IP Networking

iptables: banned IP making it through!

Hey folks! Debian VPS running on proxmox host. Linux ve2 2.6.18-3-pve #1 SMP Mon Sep 20 14:57:48 CEST 2010 i686 I have a most perplexing problem. I have 17 Drop rules in place in this VPS - and one of the banned ranges is making it through. (It happens to be a Googlebot). Here is the... (5 Replies)
Discussion started by: putter1900
5 Replies

2. UNIX for Dummies Questions & Answers

Linux iptables -> is it possible?

Hi! I have a dedicated hosting working with 2 ips. Is it possible to block all connections but 1 in all existing ports for only 1 of my ips? I mean like, I have 2 ips for example: 190.x.x.5 and 190.x.x.6 I want that all the connections going to 190.x.x.6 in all ports get rejected but only 1... (7 Replies)
Discussion started by: Kekox
7 Replies

3. Cybersecurity

Continual knocking on port 443 from foreign IP address

Hello, I have a server in our DMZ that only has ports 80 and 443 open to the public networks. It runs webmail for our 10K employees' accounts. It's not necessary for our employees to access the server from anywhere except North America so I have blocked access from most of the world due to... (5 Replies)
Discussion started by: randomxs
5 Replies

4. UNIX for Advanced & Expert Users

iptables ruleset to allow http

Hello gentlemen. I want to solve a little problem with iptables. Let's suppose that i've a valid ruleset called MYBLOCK with all ips i want to block. $ iptables --list Chain FORWARD (policy DROP) DROP all -- anywhere anywhere set MYBLOCK src,dst ... (2 Replies)
Discussion started by: accolito
2 Replies

5. UNIX for Dummies Questions & Answers

Is my iptables fine?

I have recently bought a VPS with CentOS 6.5 and DirectAdmin already installed on it. Knowing that I need to configure the firewall and security tools, I have already studied some basic tutorials about Linux's famous firewall, that is, Iptables and have added some lines to it according to the... (2 Replies)
Discussion started by: ajax20
2 Replies

6. UNIX for Advanced & Expert Users

iptables help with rules

Hi, I've been struggling with this all morning and seem to have a blind spot on what the problem is. I'm trying to use iptables to block traffic on a little cluster of raspberry pi's but to allow ssh and ping traffic within it. The cluster has a firewall server with a wifi card connecting to... (4 Replies)
Discussion started by: steadyonabix
4 Replies

7. Solaris

How to enable ping?a litte complex

I have two networks 192.168.0.0/24 which is my home network 10.2.0.0/24 which is the second network dedicated to vm's Without firewall I can ping all networks without problems Client System is : Slackware 14.2 with ip 192.168.0.2 Server is OmniOS with ip 10.2.0.1(vnic) and 192.168.0.30... (13 Replies)
Discussion started by: Linusolaradm1
13 Replies