deb’s pg_upgradecluster(1) vs streaming replication

2023-06-17 Thread James Cloos
[ hmm. i thought i sent this here, not to pgsql-hackers. don't know what happened. resending... ] Has anyone recently tried updating a streaming replication cluster using debian’s pg_upgradecluster(1) on each node? Did things work well? My last attempt (11 to 13, as I recall) had issues and

Re: Is there a way make the lex program match multiple line?

2023-06-17 Thread Wen Yi
I rewrite, and I think the [']([^']|\n)['] should be [']([^']|\n)+['] Thanks very much! Yours, Wen Yi.   -- Original -- From: "Tom La

Re: Is there a way make the lex program match multiple line?

2023-06-17 Thread Tom Lane
"=?ISO-8859-1?B?V2VuIFlp?=" <896634...@qq.com> writes: > Can someone give me some advice to make the ['].+['] match multiple string? You should check the flex manual, but it's likely that "." doesn't match newline. Another problem with this pattern is that "." *does* match "'", so it's ambiguous

Is there a way make the lex program match multiple line?

2023-06-17 Thread Wen Yi
Hi community, I am making a config program, use the lex program to analyse input. /*     config.l    The lex rule file for toysql     Wen Yi */ %option noyywrap %{ #include