Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id CA4202B2862 for ; Mon, 25 Jun 2012 02:26:46 -0300 (ADT) Received: from mail-wi0-f172.google.com ([209.85.212.172]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Sj1ox-0000vp-EI for pgsql-bugs@postgresql.org; Mon, 25 Jun 2012 05:26:45 +0000 Received: by wibhm11 with SMTP id hm11so2590295wib.1 for ; Sun, 24 Jun 2012 22:26:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:date:from:reply-to:organization:x-priority:message-id:to:cc :subject:mime-version:content-type:content-transfer-encoding :x-gm-message-state; bh=2oRa8XdcGWJIro3QSdxV1pOyokj80L9IA3yzlJax8Dg=; b=F/x6rmH2hyXt/3WKujf0tL9jJ7qkBauI2JgrE0WJcTuG20HpbOeMtIg/Mw4QiN4kHb VAUPsq8quQjsBg5THBGYclykr9rHt0mNhwLDi0XanQ0RQYoelJELsKkI711Xkzjd62zN 6AhQsp6djFw87KMdUeXEHOeYSL5idOF5zGCJ5EVyfSL0/EmCb/kas7H8C7BmST/cfQN3 EUlHWvDvIIYNbyrDeSXN5W+vW3QVF81/OrRtkrlXnYfxBfFq/tAfdp5MwgAnpkVX4WzO T7W++OEGfat6eJsckpBKCpcfLRyI40BfUrbcGkAX1QkHrRoNelWYKOqohBkWJsDYQrHK TrDw== Received: by 10.180.102.136 with SMTP id fo8mr21558334wib.19.1340601989574; Sun, 24 Jun 2012 22:26:29 -0700 (PDT) Received: from [192.168.1.104] (0-131-113-92.pool.ukrtel.net. [92.113.131.0]) by mx.google.com with ESMTPS id bc2sm30191076wib.0.2012.06.24.22.26.27 (version=SSLv3 cipher=OTHER); Sun, 24 Jun 2012 22:26:28 -0700 (PDT) Date: Mon, 25 Jun 2012 08:26:24 +0300 From: Pavel Golub Reply-To: Pavel Golub Organization: Microolap X-Priority: 3 (Normal) Message-ID: <1571492617.20120625082624@gf.microolap.com> To: pgsql-bugs@postgresql.org CC: pgsql-hackers@postgresql.org Subject: pg_tablespace.spclocation column removed in 9.2 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQnbrnN8Ln7p4hIgkH7bnWcCiYUy0CuSW4xBWwkOM5E5Pn+XksQbWXI3qMregUXoOKq67kcc X-Pg-Spam-Score: -2.6 (--) X-Archive-Number: 201206/202 X-Sequence-Number: 33429 Hello, Pgsql-bugs. According to the "Moving tablespaces" thread started by Bruce http://archives.postgresql.org/pgsql-docs/2011-12/msg00003.php pg_tablespace.spclocation column is removed in the 9.2beta. However this breaks backward compatibility for a bunch of products, e.g. pgAdmin, phpPgAdmin, PgMDD etc. I'm not sure this is the best choice. Because each application with tablespace support will need additional check now to determine what way to use for obtaining tablespace location: pg_get_tablespace_location(oid) or tablespace.spclocation I'm aware of problems caused by this hard coded column. My proposal is to convert pg_tablespace to system view may be? -- With best wishes, Pavel mailto:pavel@gf.microolap.com