Thread: simple utility commands (src/backend/commands)

simple utility commands (src/backend/commands)

From
"Gevik babakhani"
Date:
<div class="Section1"><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;
font-family:Arial">Folks,</span></font><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;
font-family:Arial"> </span></font><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;
font-family:Arial">I would like to understand how the ‘simple’ backend commands work. </span></font><p
class="MsoNormal"><fontface="Arial" size="2"><span style="font-size:10.0pt; 
font-family:Arial">After reading the “</span></font>How PostgreSQL Processes a Query”, I was wondering <p
class="MsoNormal"><fontface="Times New Roman" size="3"><span style="font-size: 
12.0pt">Which command would be the easiest to begin with? (For a newbie of course.)</span></font><p
class="MsoNormal"><fontface="Times New Roman" size="3"><span style="font-size: 
12.0pt"> </span></font><p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:
12.0pt">Regards,</span></font><p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:
12.0pt">Gevik.</span></font><p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:
12.0pt"> </span></font><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;
font-family:Arial"> </span></font></div>

Re: simple utility commands (src/backend/commands)

From
"Jonah H. Harris"
Date:
You should look at something like the LOCK table command.  The following areas will help:

src/backend/tcop/utility.c
src/backend/commands/lockcmds.c
src/backend/nodes/*funcs.c
src/backend/parser

-Jonah


On 1/13/06, Gevik babakhani <gevik@xs4all.nl> wrote:

Folks,

 

I would like to understand how the 'simple' backend commands work.

After reading the "How PostgreSQL Processes a Query", I was wondering

Which command would be the easiest to begin with? (For a newbie of course.)

 

Regards,

Gevik.