Support plpgsql multi-range in conditional control

2023-01-19 Thread 2903807...@qq.com
:= 10; begin for i in 1..10 by 3, reverse i+10..i+1 by 3 loop raise info '%', i; end loop; end $$; INFO: 1 INFO: 4 INFO: 7 INFO: 10 INFO: 20 INFO: 17 INFO: 14 INFO: 11 do postgres=# Hope to get your feedback, thank you! 2903807...@qq.com 0001-Support-plpgsql-mult

Re: Re: Support plpgsql multi-range in conditional control

2023-01-19 Thread 2903807...@qq.com
need a list: condition_ iterator[,condition_iterator ...] condition_iterator: [ REVERSE ] expression .. expression [ BY expression ] Thanks again! songjinzhou (2903807...@qq.com) From: Pavel Stehule Date: 2023-01-19 21:04 To: 2903807...@qq.com CC: pgsql-hackers; 1276576182 Subject: Re