Re: Format generation_expression

From: Michael Lewis <mlewis(at)entrata(dot)com>
To: Nils Bergmann <nilsbergmann(at)noim(dot)io>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Format generation_expression
Date: 2020-07-27 20:03:42
Message-ID: CAHOFxGo3gzzP4GLEkMaX4b0b+4_3a1XqQFPjaiMXCu1tYbOk9g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Are you caching the definition some other place in the application stack
and checking it later to compare? If so, I would likely alter the table and
in the same transaction read the definition as recorded in
generation_expression from information_schema.columns. Seems simple enough,
but not sure of your overall process.

>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David Rowley 2020-07-27 21:50:39 Re: determine what column(s) form the primary key, in C extention
Previous Message Michael Lewis 2020-07-27 19:14:16 Re: How does vacuum works in postgresql