Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fVKqY-00020y-7J for pgsql-general@arkaria.postgresql.org; Tue, 19 Jun 2018 17:55:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fVHUb-0006FJ-7I for pgsql-general@arkaria.postgresql.org; Tue, 19 Jun 2018 14:20:21 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fVHUa-0006Ez-Rw for pgsql-general@lists.postgresql.org; Tue, 19 Jun 2018 14:20:21 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fVHUX-0002y6-Lj for pgsql-general@postgresql.org; Tue, 19 Jun 2018 14:20:19 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 6DC9821C1C for ; Tue, 19 Jun 2018 10:20:16 -0400 (EDT) Received: from web2 ([10.202.2.212]) by compute2.internal (MEProxy); Tue, 19 Jun 2018 10:20:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antarkt.is; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= mesmtp; bh=RLBDvH3qGJdmrjf1ZKVzU/dCfr1w4jUm0OKpFTZCC5Q=; b=nZl/T 57UNmsqibibbPvy6AIaxQC+Dgxk1E4DWkLS6h84JfGRPPXj2lgSCuZnmqWyt29xl OUiAYd3+f8lxHt99Ab4p0ZnMuc6LzP4/j+R6WTZ0n6sLr0bj/wmtrnc6SXxIH0AH wPCLXg0Gqp7H6Ay5rMucO64pSWOsq7mayTIyJ0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=RLBDvH3qGJdmrjf1ZKVzU/dCfr1w4 jUm0OKpFTZCC5Q=; b=o1UXBmhifIDGZDcTKIRGIfzvUGXnrdq+J0LgTWcE6MCbn kOjIMyDETMYlLa3pCOlrAtOY036m77Jt8A9xodKeW3yl0Ndwz8OU+YeDl7Bz+O7/ h7hVqIlKjc6P0aNzKeCz6EwGI8x9g98RRfLMm5GKDyjPMLXXEdpC0eZkexdnVohE Jp7cKVO0p+GCajTDrp3ENdiU+KC3KiMMz2Xr9w1ZzWbgJE9/4Ul4kn0tAEMawfbJ FBtMSrNHr3vbv3rcVqtb5ZTgnw/NOHePGRlu+yRG9KF0eBaLQvIfVgWyVN0rnb3w pLavIuWcRPfeUcjMeRwv4OzKptyWXYllAuLPXTsNQ== X-ME-Proxy: X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id 1A89A621DC; Tue, 19 Jun 2018 10:20:16 -0400 (EDT) Message-Id: <1529418016.355123.1413189224.75962718@webmail.messagingengine.com> From: Aron Widforss To: pgsql-general@postgresql.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-0d8ea36c Subject: Find schema-qualified table name given unqualified name Date: Tue, 19 Jun 2018 16:20:16 +0200 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, I'm interested in finding a (any) unique identifier for a table given an unqualified name of the table. Is that feasible in SQL or a C function? Regards, Aron Widforss