X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 33DB65283F for ; Fri, 24 Jun 2005 12:49:10 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 73488-06 for ; Fri, 24 Jun 2005 15:49:07 +0000 (GMT) Received: from mx-00.sil.at (mx-00.sil.at [62.116.68.196]) by svr1.postgresql.org (Postfix) with ESMTP id DB29C52812 for ; Fri, 24 Jun 2005 12:49:03 -0300 (ADT) Received: (qmail-ldap/ctrl 40201 invoked from network); 24 Jun 2005 15:49:00 -0000 Received: from unknown (HELO io.sonorys.at) ([213.235.243.42]) (envelope-sender ) by mx-00.sil.at (qmail-ldap-1.03) with SMTP for ; 24 Jun 2005 15:49:00 -0000 Received: from neptun.sonorys.at (neptun.sonorys.at [172.24.1.17]) by io.sonorys.at (8.11.7+Sun/8.11.7) with ESMTP id j5OFn2G13544 for ; Fri, 24 Jun 2005 17:49:02 +0200 (MEST) Received: by neptun.sonorys.at with Internet Mail Service (5.5.2653.19) id ; Fri, 24 Jun 2005 17:49:02 +0200 Message-ID: From: =?iso-8859-1?Q?K=D6PFERL_Robert?= To: Cc: PgSQL - SQL Subject: Converting TBL->View complaining about indexes Date: Fri, 24 Jun 2005 17:49:02 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.007 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200506/293 X-Sequence-Number: 21894 Hi, I'm currently trying to make a table (where many fcns depend on) become a view. Thus I did a _truncate_ and lots of _alter table drop constraint_ and _drop index_ and then CREATE OR REPLACE RULE "_RETURN" AS ON SELECT TO "smsMessagesrewtet" DO INSTEAD SELECT "MessageID",..... Postgres keeps returning ERROR: could not convert table "smsMessagesrewtet" to a view because it has indexes However I am sure there are no indexes nor PK or any constraints. What else could it be? Thanks