diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2022-04-20 18:08:15 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2022-04-20 18:08:24 -0400 |
commit | e346329470081f5919e83b1acb2d0f2442c1fc3d (patch) | |
tree | 9fc430064f746d6d02e417cbdf9b762fe1737779 /contrib/postgres_fdw/postgres_fdw.c | |
parent | 4a66300acd8c788998615ffc077b7d7be57afceb (diff) | |
download | postgresql-e346329470081f5919e83b1acb2d0f2442c1fc3d.tar.gz postgresql-e346329470081f5919e83b1acb2d0f2442c1fc3d.zip |
Disallow infinite endpoints in generate_series() for timestamps.
Such cases will lead to infinite loops, so they're of no practical
value. The numeric variant of generate_series() already threw error
for this, so borrow its message wording.
Per report from Richard Wesley. Back-patch to all supported branches.
Discussion: https://postgr.es/m/91B44E7B-68D5-448F-95C8-B4B3B0F5DEAF@duckdblabs.com
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions