Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h7zqY-00039n-C7 for pgsql-general@arkaria.postgresql.org; Sun, 24 Mar 2019 09:55:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h7zqV-00046N-N4 for pgsql-general@arkaria.postgresql.org; Sun, 24 Mar 2019 09:55:15 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h7zqV-00046F-8U for pgsql-general@lists.postgresql.org; Sun, 24 Mar 2019 09:55:15 +0000 Received: from mail-ot1-x32a.google.com ([2607:f8b0:4864:20::32a]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h7zqS-0006hX-GU for pgsql-general@lists.postgresql.org; Sun, 24 Mar 2019 09:55:13 +0000 Received: by mail-ot1-x32a.google.com with SMTP id f10so5542047otb.6 for ; Sun, 24 Mar 2019 02:55:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:from:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=BEqGz9CpAoCWxeDojkK+cUPR0gMEFYB+blRGDjVRG6A=; b=qgngONh6GDIdfGyORXWoSqYaOE/09kBXbm0xmC76aaZNPkcye+kordJ8JfBBz3HgV4 eJ/lj7qBBKr5X7KCoHoM+6CWmDWnk/v3T004k9ilgzsva9AiCjzPBZ6ArmyHRSHWU3fm oJElwq7fODlot8RLLFWUeH6SaXdykkfux0q25zabBjOjBh5+7cNXg2j/IBNMMOntdPGz /jlVJmAfFN6ZTm1knC4VelzZ3ezuzWBxL0sClqdiaqdKJ+LwpFu7robakTecg6w3qQ6J GQr3QIjI+k3igGo+NMKjXJNcCsBDIAjQ5VJ1cP8yuubhXJoszlH+kx6i8JkavqPcxN+O JXow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=BEqGz9CpAoCWxeDojkK+cUPR0gMEFYB+blRGDjVRG6A=; b=LmI0Pm1bOURR0fonOBP/JFO9RdnaCD/dD+txkD0se15LFP7Unvb7BV1gFVOEPQ1lj3 5z5DDvrW0VzV+g57GndVqNABz1SCr68ALPzGsnJzm8TZ6idlye15eOpWObGakIXYD/FA nbJziruCkFz0osfLIAJklDyoJxE+rvADrhmN5e2pi9Pnou2nf3DNpghTKDvFOrL5fN4R hxIBXkfqd7PCaCE6afK/j+ySGrDPENlbcqLkOiAUkdQnMHdPT0SOyRiI3FgXAZDFfznT UzxztYQ+WZlhEeWtnS6JjRF7Qz6ySSD15704QI51ZPOF1PQzcG5HXRmLKXIyp1IX5+E2 /wyQ== X-Gm-Message-State: APjAAAUciFwszKCEFU7NK8rNvnqWY+RizGKad223nEh48Aie6g8RVflp DwXo7GAgAOUIviZ9rZMGzvMfdYxPE00= X-Google-Smtp-Source: APXvYqwWnwbKBIhNB+UM1XjDKduBMQH8maeuX8MCEWeX/w2QAGfeB8PVaCfaUg0W/J4ZFtNWBEX4Ew== X-Received: by 2002:a9d:130:: with SMTP id 45mr13222976otu.352.1553421311560; Sun, 24 Mar 2019 02:55:11 -0700 (PDT) Received: from [192.168.1.10] (ip70-171-116-89.no.no.cox.net. [70.171.116.89]) by smtp.googlemail.com with ESMTPSA id a198sm2341842oib.19.2019.03.24.02.55.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Mar 2019 02:55:10 -0700 (PDT) Subject: Re: When to store data that could be derived From: Ron To: pgsql-general@lists.postgresql.org References: <835132f4-e1c6-d362-1b13-ad48671afe39@gmail.com> <6dcf59be-2029-8554-88de-88587368b50d@chagford.com> <6d9e9fc2-cfd9-c36f-b813-0f2f4492da8f@gmail.com> Message-ID: <7547faf6-62f5-34bf-e11a-4708320e49de@gmail.com> Date: Sun, 24 Mar 2019 04:55:10 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <6d9e9fc2-cfd9-c36f-b813-0f2f4492da8f@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 3/24/19 3:45 AM, Ron wrote: [snip] > In every DBMS that I've used, the lside (left side) needs to be static > (not "a" static) instead of variable (like a function). Thanks to Chris Travers for reminding me that the word is "immutable", not "static". -- Angular momentum makes the world go 'round.