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 BA5ABD1B1F8 for ; Sat, 24 Jul 2004 11:39:45 -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 22537-06 for ; Sat, 24 Jul 2004 14:39:49 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 6CC73D1B1EC for ; Sat, 24 Jul 2004 11:39:40 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i6OEdm91004196; Sat, 24 Jul 2004 10:39:49 -0400 (EDT) To: Markus Bertheau Cc: pgsql-sql@postgresql.org Subject: Re: Is a backend id or something available for use as a foreign key? In-reply-to: <1090672507.6022.7.camel@teetnang> References: <1090672507.6022.7.camel@teetnang> Comments: In-reply-to Markus Bertheau message dated "Sat, 24 Jul 2004 14:35:07 +0200" Date: Sat, 24 Jul 2004 10:39:48 -0400 Message-ID: <4195.1090679988@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/210 X-Sequence-Number: 18462 Markus Bertheau writes: > Is there a backend id available or something similar that would allow > me to define a view like this: IIRC there is a function to get your backend's PID. It was meant for identifying rows relevant to you in the pg_stat views, so look in that part of the documentation. regards, tom lane