1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 <2023> 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 <2023> 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Appending to existing records |
From: | "Cobb, Tom \(DLSLtd,RAL,LSCI\) via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Fri, 10 Mar 2023 10:08:43 +0000 |
Hi all,
To avoid modifying upstream database templates, I would like to make a second template that appends to the existing records:
$ cat upstream.template
record(ai, "MYRECORD") {
field(VAL, "1")
}
$ cat local.template
include "upstream.template"
record(ai, "MYRECORD") {
info(archive, "VAL")
}
It would be nice to not have to repeat the type of the record in the second file. Is this possible? If not, could we add an "overload" or "existing" record type to they syntax that would allow this?
Thanks,
Tom
-- This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. |