summaryrefslogtreecommitdiff
path: root/src/tutorial/advanced.source
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2025-11-06 11:52:47 +0100
committerPeter Eisentraut <peter@eisentraut.org>2025-11-06 13:54:42 +0100
commitaa606b9316a334cbc8c48560c72235f9e48e47bf (patch)
tree9132542cdd8cf5f10e9ef4e5d23a862173b2b698 /src/tutorial/advanced.source
parentaa9c5fd3e3d7f1e6154474e39ab71377136d463a (diff)
Disallow generated columns in COPY WHERE clause
Stored generated columns are not yet computed when the filtering happens, so we need to prohibit them to avoid incorrect behavior. Virtual generated columns currently error out ("unexpected virtual generated column reference"). They could probably work if we expand them in the right place, but for now let's keep them consistent with the stored variant. This doesn't change the behavior, it only gives a nicer error message. Co-authored-by: jian he <jian.universality@gmail.com> Reviewed-by: Kirill Reshke <reshkekirill@gmail.com> Reviewed-by: Masahiko Sawada <sawada.mshk@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/CACJufxHb8YPQ095R_pYDr77W9XKNaXg5Rzy-WP525mkq+hRM3g@mail.gmail.com
Diffstat (limited to 'src/tutorial/advanced.source')
0 files changed, 0 insertions, 0 deletions