[Beginner Question]How can I use the yacc & lex in right way?

2022-12-09 Thread Wen Yi
Hello the team: I'm now learning the yacc & lex and want to write a simple SQL parser, Here's part of my code %option noyywrap %option bison-bridge %option reentrant ... enum { UNDEFINED = 1, CREATE, TABLE, UPDATE, SET, INSERT, INTO, VALUES, DELETE, FROM,

Re: configure a patroni cluster with a follower who never can become leader

2022-12-09 Thread Mateusz Henicz
Hi, Adding a tag "nofailover: true" for nodes that can't be promoted to leaders should do the trick. https://patroni.readthedocs.io/en/latest/SETTINGS.html#tags tags: nofailover: true Cheers, Mateusz pt., 9 gru 2022 o 11:03 Marco Lechner napisaƂ(a): > Hi, > > > > anyone who can point me

configure a patroni cluster with a follower who never can become leader

2022-12-09 Thread Marco Lechner
Hi, anyone who can point me to a docu or give me a hint if and how it is possible to configure a patroni cluster in a way that some nodes are follower and can become leader if necessary but there are followers as well that never can become a leader? VG Marco i.A. Dr. Marco Lechner Leiter Fach