Received: from candle.pha.pa.us (216-55-132-35.dsl.san-diego.abac.net [216.55.132.35]) by postgresql.org (Postfix) with ESMTP id 510FB475D0F for ; Thu, 7 Mar 2002 12:59:11 -0500 (EST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id g27HwRw14345; Thu, 7 Mar 2002 12:58:27 -0500 (EST) From: Bruce Momjian Message-Id: <200203071758.g27HwRw14345@candle.pha.pa.us> Subject: Re: Temp Tables In-Reply-To: <9e6ea67a.0203041248.24859ff2@posting.google.com> To: mdb Date: Thu, 7 Mar 2002 12:58:27 -0500 (EST) Cc: pgsql-general@postgresql.org X-Mailer: ELM [version 2.4ME+ PL96 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200203/355 X-Sequence-Number: 21733 mdb wrote: > Hello, > > I am running a client server app and am using temp tables to do some > data manipulation. However, Postgresql seems to prevent multiple temp > tables from being created with the same name. The temp tables are > created by seperate connections to the database, but this does not > seem to matter. Is this correct? Do I need to make the names unique > by using a user id? Am I doing something wrong? I am using > Postgresql 7.1.3 and odbc 7.1.9. Temp tables can be created with identical names in different connections. I have no idea why it is failing. Are you trying to create the same temp table in the same session? Could you show us the failure? -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026