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 1gGTqn-00011H-UE for pgsql-general@arkaria.postgresql.org; Sat, 27 Oct 2018 19:02:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gGTqm-0002xl-6Z for pgsql-general@arkaria.postgresql.org; Sat, 27 Oct 2018 19:02:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gGTql-0002xa-S7; Sat, 27 Oct 2018 19:02:19 +0000 Received: from mail-ed1-x544.google.com ([2a00:1450:4864:20::544]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gGTqj-0000uV-0P; Sat, 27 Oct 2018 19:02:19 +0000 Received: by mail-ed1-x544.google.com with SMTP id u12-v6so1133233eds.4; Sat, 27 Oct 2018 12:02:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=mi8uL43Ebeu96Bz7t+gSZUDfnnPClNp2Xwms7zyQ2jk=; b=reLXw4krE+88t9lOZvpgSbANOU20rl6BYztqJ4lgfwW4fvIYtAfWyX8paNAqV+oPQa WoJ4q336x8sbBpSLdNIP25b/MG8VHHbmqY0/vgLTKXtZLVfnF+24sQihC0w2Eov57ep0 4JklzjA7UPWLg3Dim+qzqboAtEUJ4HrO8arqDBR/sPNzLb3Ndzx1JhczeTODtNLctwyS 97Jh4BNmblehHNg1II3+nGCf/gkALpsvg1g5JDwU/jaHPoApQGHsSm41n7KmZ8de72Mi uhMULPul1H9o0KxayLQMxSJRRky778rZJvMc2CTJhciE7eOoNqJzyIH78f8K+V/RDkcv C08w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=mi8uL43Ebeu96Bz7t+gSZUDfnnPClNp2Xwms7zyQ2jk=; b=avS4VFu6Ohoph14EmL/xScwyARiutnIQy2nC3Vd8WLUy3Zvwt6uwS+/n0ZrbBxj3nk h8JOD+R0r84Mw3GeUru0FQKVQVRqkKFg1V82yAp+iabXiGE68wz76fPIaFvY27DY8XUK tJlJDixx/xwPPM11B4t2Gh5Pmls6QxDRvx07Wgkv9SVhTXi5+mm5LFxl5anXdIxy3qw6 1xq4j9utVBcOLlzI1ht7cW2qhynXhD3IXwFDvselTtvR2CtpmwvZBXTKeM0E3XNvZexv cx+beSR125JmWMKL4cMTrSICFV5B5GDzWQikd/mmIApIngTpESkHWYlmuYBoQz+C0adK lOjw== X-Gm-Message-State: AGRZ1gL+m5DL6a0QoHPyAQvm8A1PiuKUiNwQqoucXbHpoLbnwj+T49mx SFDJxFik2mRLGJ44bTNqGu0= X-Google-Smtp-Source: AJdET5ei5STjuESFPE1TdpM7w9w0kgcVgKKAy8beTfu7ZtMs6f/So06eFx/gM+FCIrzkjzyHJK1+xQ== X-Received: by 2002:a17:906:5512:: with SMTP id r18-v6mr6021762ejp.15.1540666934848; Sat, 27 Oct 2018 12:02:14 -0700 (PDT) Received: from hollewijn.internal (217-19-30-105.dsl.cambrium.nl. [217.19.30.105]) by smtp.gmail.com with ESMTPSA id l19-v6sm2822596ejg.5.2018.10.27.12.02.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 Oct 2018 12:02:13 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.0 \(3445.100.39\)) Subject: Re: Ltree: set of allowed charcters is limited to [A-Za-z0-9_]. Could the dash "-" be included? From: Alban Hertroys In-Reply-To: Date: Sat, 27 Oct 2018 21:02:12 +0200 Cc: joernbs , "pgsql-general@postgresql.org" , "pgsql-hackers@postgresql.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: To: "David G. Johnston" X-Mailer: Apple Mail (2.3445.100.39) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On 27 Oct 2018, at 18:14, David G. Johnston = wrote: >=20 >> On Saturday, October 27, 2018, joernbs = wrote: >> Dear friends, >>=20 >> I would like to use ltree for search paths in a warehouse = application, something like = "Material-Entry-01.Main-Aisle.Shelf-Aisle-R07/R08.R07-12-03" >> Unfortunately I can not use common separators like dash (-) or = slash(/)=20 >>=20 >> Documentation states only thes characters [A-Za-z0-9_] are = allowed.https://www.postgresql.org/docs/10/static/ltree.html >>=20 > I don=E2=80=99t see how this would be possible to do with the existing = type - too much potential breakage of existing data. Your example = itself shows why using dash as a separator is a bad idea. David, I don't think he's talking about separators ;) Alban Hertroys -- If you can't see the forest for the trees, cut the trees and you'll find there is no forest.