Re: What type of Compiler to SQL? Memory-Image (Load-and-Go) Format?

2023-05-04 Thread Christophe Pettus
> On May 4, 2023, at 18:00, Wen Yi wrote: > > Hi team, > I am a newbie to the postgres. > When I am studying the compiler,the text book tell me there is there type of > compiler. > • Assembly Language Format > • Relocatable Binary Format > • Memory-Image (Load-and-Go) Format

Re: What type of Compiler to SQL? Memory-Image (Load-and-Go) Format?

2023-05-04 Thread David G. Johnston
On Thu, May 4, 2023 at 6:00 PM Wen Yi wrote: > Hi team, > I am a newbie to the postgres. > When I am studying the compiler,the text book tell me there is there type > of compiler. > >1. Assembly Language Format >2. Relocatable Binary Format >3. Memory-Image (Load-and-Go) Format > > >

Re: What type of Compiler to SQL? Memory-Image (Load-and-Go) Format?

2023-05-04 Thread Bruce Momjian
On Thu, May 4, 2023 at 09:16:20PM -0400, Bruce Momjian wrote: > Lex and yacc load command-specific structures, or a Query structure for > SELECT, INSERT, UPDATE, DELETE, MERGE. > > The Query structure is converted into a Plan which is executed by the > executor. It is not compiled into assembly

Re: What type of Compiler to SQL? Memory-Image (Load-and-Go) Format?

2023-05-04 Thread Bruce Momjian
On Fri, May 5, 2023 at 01:00:37AM +, Wen Yi wrote: > Hi team, > I am a newbie to the postgres. > When I am studying the compiler,the text book tell me there is there type of > compiler. > > 1. Assembly Language Format > 2. Relocatable Binary Format > 3. Memory-Image (Load-and-Go) Format >

What type of Compiler to SQL? Memory-Image (Load-and-Go) Format?

2023-05-04 Thread Wen Yi
Hi team, I am a newbie to the postgres. When I am studying the compiler,the text book tell me there is there type of compiler. 1. Assembly Language Format 2. Relocatable Binary Format 3. Memory-Image (Load-and-Go) Format I check the postgres's sql compiler, and it's achieved by lex & ya