Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l7sz7-0001Or-QV for pgsql-general@arkaria.postgresql.org; Fri, 05 Feb 2021 04:44:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l7sz6-0000Rb-JM for pgsql-general@arkaria.postgresql.org; Fri, 05 Feb 2021 04:44:44 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l7sz6-0000RT-2A for pgsql-general@lists.postgresql.org; Fri, 05 Feb 2021 04:44:44 +0000 Received: from sonic317-27.consmr.mail.bf2.yahoo.com ([74.6.129.82]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1l7sz3-0005Qu-7Y for pgsql-general@lists.postgresql.org; Fri, 05 Feb 2021 04:44:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1612500278; bh=PHVVkyogGLZVrhUSdpuVjfo2LnHPNkHZJBnWw2u5A+M=; h=Date:From:To:Subject:References:From:Subject:Reply-To; b=qCmtOlGzbuw2LtfrZ4hsveO7uvgitNH8UueE8AiTUQN6cUx0TfVOQIv7rlb5xtBIQ4jFxOXtmdq4j514PHzSrvNZCA7qiKFUjvZ+vSUCFXdj47HZEOL4sFcRRKwXUOENi4Vuv2t51ZAjOyPVZjRLvzK3Fey3Ud/8+v6ayVqqY8SaSPZj4VX31hIHLXdb9o1McMR3m1DFOUDhY1MNaZJu3PxFFpXF2yR2OyWSxpcr7aoh69Z994uKRwVnOwH1+dMTSH1N48oAJshlAoklfRqMduvg4ch//0KflKXaj34inWS4K8dTvJc2MUnm0I/RCWMx46u+ogrVvvcZEd9Ea1YSIw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1612500278; bh=A46ZTSD4tFqlR6jr1tODeFNeL/9rVGZebX3YpCwqvLD=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=rF0n4i4RhCnW+Ytb3j4ujRAJVuzAAc6yf6wFScBZacoPIaq6dDGVJKGovE33eGvi5+WJOZRWVVNPI7w9/IakKZ0JiecXFDhkzO7X78DLapHz6eJk8KrPsVUjYWzHPTeYk9ZQDn6vy9H52kkO02UJeW2GOTRTpl4t91r2BaC0fzmvC0Pa/oR4CP+X89mLD8z/tpqlMw9DK+LC/dwNMVy6jhksdPOekWGs8adO3QucilSbiqu6S0K/xPpwjbpiyqjnIeP3P289QLXZk9/Nyef6DNMPujuZHjDGrZekZXYnatNHzOk4ovpkUoKVg7y1YdjUmoatPqgEmnLCnHQv3KCWCA== X-YMail-OSG: w9IxdqQVM1nX2ssZvzgBW4lIOjUZhW0CxoH1nsMyacAJeqt9pvWdXlWo8Rn6QD3 ziYDgktHvQxo2S7yZ.Oi0DR9VlX36JjDH2Z959wYOmji4DtzW3gRshjqga7rnZV5gneTCZ6LltBs 3e1JL8iVCF9Mqxqoj.yCakbEs69j3WRI58bG5dKiDbnsO.iP6iQvmgD4B9MUoKTeM.aqrpfuI8LC F6ZNb5el9r3_NkXy6BY6GdlUZh4eULeMH6evHXTYTbFtlGyp1RALMFzm1.mMWIt8ufxj4rV0TKCL qqeRdwHFMhgVb2ouiaYQGOWV_BACG2DyN4cWHBYkEkNuckLm52z2TO6Yg0uYm3DlyHDsJYgmWSAV rtCOniRYRhOOvzWu6nBVQ5OFsBwfLicMxzYY8tAHhulrFNOCXOdowt9D4bED7CWxJTAo32mTJCqH ux64SFc4hty.gfo_Jp57CmQMgM1qeH_bdSXpcidhLrNh9R1E2G1pr1N1E60a_2ScDzOfURkEooh8 W46QGnPecrumFP.Z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dZEhC0xFSU7gxJgtZD4fI_E3Ksg7kC5bTGg1Zk4Q_H7O 8H8oArEDJ3pVdXCADNy_SpAvZECu1PFwk.UO5MsAyAMnMR8CGCHZQG2g3sT112g.RSgUNhTpab8L 33PfyUXhp8lPtv26xm41B7ngk62_tdZedPnmpDYhPOynTC4cwyhn3V1nUchnUBYYe0fdPU3_LNsP Yx9.tllzzlVI5Gy1QlnOG_n3lp4FeoTI0pDDiaxXMhAD1pc8yaIGNKrA0TyB0PsSoqGlbP0Ea4Wa LVs7njPuHEadZCfxPRZQrgcdJq6P_AcjXFBssYUaP.HSL5quzkMsBPh0CfMb7EoAuZ4xXCA3fwPn jnZpR4VO9wO3KZDGJ9wtBZXzn7L2oWUybb.GyDhSlAUri78mPXtUTV5F6LyniTr7wb.TmRPSKiF3 RmhoMSjKjUTCB2icMZowrRKtHRKic.TLE6LImTiEZ0_.bq8gLTlxVUelcz2tn0b_uhIrj308xntZ TkhYATp4CStwaiLkMqY8G1aKTX9ZwN6nVfxkY49t9QzwXUFls4Ri0OiS34WSUYv.fs2U.FVGUHaf 1n6U7ynxfjLlAKLKd8V_q0pC.aiKDwNVs29YjRXTfu1tUU3hdmDRX_E.Y3AWAVhi.7viHbB14hfR 4dwzvszZQ3PP..R4Fi3yHRaeDQ8I5Fh0mA7ZrAIaCZzOzrAh0yd6aY6e3wwj8Ul3_NoaoGupkQrf HFEp7yNx9bU75xt6h3WkBScvQhN4SU1E81A1NfUo8YmECOMq_775N0rh9F2qMLSLb7k4Zl.PaqTK v57bsez5zzxFNvdzSOYpjFeBsYGVFgtxIbVCKZA-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.bf2.yahoo.com with HTTP; Fri, 5 Feb 2021 04:44:38 +0000 Date: Fri, 5 Feb 2021 04:44:33 +0000 (UTC) From: Open _ To: "pgsql-generallists.postgresql.org" Message-ID: <1170495024.1919421.1612500273286@mail.yahoo.com> Subject: ltree and PHP MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1919420_1735119958.1612500273285" References: <1170495024.1919421.1612500273286.ref@mail.yahoo.com> X-Mailer: WebService/1.1.17648 YMailNorrin Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36 Content-Length: 2894 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_1919420_1735119958.1612500273285 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I've created the ltree extensioncreated a table with an ltree column called= ltree_path In php I can access the table, insert, update, delete.but ltree operators d= on't work. select count() from schema.table=C2=A0 where 'A.B.C' @> ltree_path; gives me a "could not determine polymorphic type anyrange because input has= type unknown' The same statement works just fine in psql, but not in PHP If I change the statement to: select count() from schema.table=C2=A0 where cast('A.B.C' as schema.ltree) @> ltree_path; I get a different error: "operator does not exist:" pointing to the @> Is there someplace to 'create' or include ltree in PHP ? ------=_Part_1919420_1735119958.1612500273285 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I've created the ltree extension
created a table with an ltree column called ltr= ee_path

In php I can access the table, insert, update, de= lete.
but ltree operators don't= work.

select count() from schema.table 
where 'A= .B.C' @> ltree_path;

gives me a "could not determine p= olymorphic type anyrange because input has type unknown'

= The same statement works just fine in psql, but not in PHP

If I change the statement to:

select count() from = schema.table 
where cast('A.B.C' as schema.ltree) @> ltree_path;=

I get a different error: "operator does not exist:"
pointing to the @= >

Is there somepla= ce to 'create' or include ltree in PHP ?


------=_Part_1919420_1735119958.1612500273285--