X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (developer.postgresql.org [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 7AA0EB43AF6 for ; Sat, 5 Jul 2003 18:19:26 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 07375-06 for ; Sat, 5 Jul 2003 15:19:13 -0300 (ADT) Received: from www.postgresql.com (www.postgresql.com [64.117.225.209]) by svr1.postgresql.org (Postfix) with ESMTP id 57265B43E22 for ; Sat, 5 Jul 2003 15:16:36 -0300 (ADT) Received: from smtp.noos.fr (nan-smtp-12.noos.net [212.198.2.83]) by www.postgresql.com (Postfix) with ESMTP id C257DCF810D for ; Sat, 5 Jul 2003 05:43:56 -0300 (ADT) Received: (qmail 21815145 invoked by uid 0); 5 Jul 2003 08:42:57 -0000 Received: from unknown (HELO gmendola) ([212.198.37.110]) (envelope-sender ) by 212.198.2.83 (qmail-ldap-1.03) with SMTP for ; 5 Jul 2003 08:42:57 -0000 Message-ID: <003d01c342d1$5d2304c0$10d4a8c0@mm.eutelsat.org> From: "Mendola Gaetano" To: Subject: Renaming a DB Date: Sat, 5 Jul 2003 10:42:26 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/45 X-Sequence-Number: 9386 Hi all, I'm running a Postgres 7.3.3 and I had the necessity to rename a DB, I did this by updating the pg_database table. If I perform psql -l I'm able to see that is reported the correct name ( I guess because a select on pg_database table is performed ) but if I try to connect to the DB after the renaming I obtain the error: psql: FATAL: Database "new_name" does not exist in the system catalog. however trying after a while ( without do nothing ) I'm able to connect to "new_name" database, is like the names of database are cached somewhere and this cache expire after a while. Any idea ? Regards Gaetano Mendola