Re: Postgres Process in Kernel Mode?

From: Chris Browne <cbbrowne(at)acm(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Postgres Process in Kernel Mode?
Date: 2006-07-31 21:21:28
Message-ID: 60slkhjwrr.fsf@dba2.int.libertyrms.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

moises(at)cedaivc(dot)co(dot)cu ("moises") writes:

> <html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
>
> <head>
> <meta http-equiv=Content-Type content="text/html; charset=us-ascii">
> <meta name=Generator content="Microsoft Word 11 (filtered medium)">
> <style>
> <!--
> /* Style Definitions */
> p.MsoNormal, li.MsoNormal, div.MsoNormal
> {margin:0cm;
> margin-bottom:.0001pt;
> font-size:12.0pt;
> font-family:"Times New Roman";}
> a:link, span.MsoHyperlink
> {color:blue;
> text-decoration:underline;}
> a:visited, span.MsoHyperlinkFollowed
> {color:purple;
> text-decoration:underline;}
> span.EstiloCorreo17
> {mso-style-type:personal-compose;
> font-family:Arial;
> color:windowtext;}
> @page Section1
> {size:595.3pt 841.9pt;
> margin:70.85pt 3.0cm 70.85pt 3.0cm;}
> div.Section1
> {page:Section1;}
> -->
> </style>
>
> </head>
>
> <body lang=ES link=blue vlink=purple>
>
> <div class=Section1>
>
> <p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
> 10.0pt;font-family:Arial'>Hello,<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
> 10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
> 10.0pt;font-family:Arial'>I&#8217;m new in postgres SQL and I have some
> questions about the space where postgres process run.<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
> 10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
> 10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
> 10.0pt;font-family:Arial'>1-Can any body say me what libs use postgres for make
> system calls, for example LIBC? <o:p></o:p></span></font></p>

You can easily determine this yourself using ldd. The answer will
vary depending on what options you use when compiling it.

> <p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
> 10.0pt;font-family:Arial'>2-Can any body talk me if some postgres process can
> run in Linux kernel space? <o:p></o:p></span></font></p>

Yes, it doesn't.

> <p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
> 10.0pt;font-family:Arial'>3- Some body knows if exist some projects that ports postgres
> process on Linux kernel space.<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
> 10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
> 10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
> 10.0pt;font-family:Arial'>I was read some source code of postgres, like, <o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
> 10.0pt;font-family:Arial'>Postgres.C and others&#8230;<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
> 10.0pt;font-family:Arial'>&nbsp;<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
> 10.0pt;font-family:Arial'>I was found C instructions like Printf, that&#8217;s prohibitive
> for Linux kernel applications, for example in kernel mode we use printk.<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
> 10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
> 10.0pt;font-family:Arial'>I suppose that postgres are ported in a user space
> only. I&#8217;m Ok?<o:p></o:p></span></font></p>

That's correct.

> <p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
> 10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
> 10.0pt;font-family:Arial'>Thanks <o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
> 10.0pt;font-family:Arial'>Moises<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
> 10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
> 10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
> 10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
> 10.0pt;font-family:Arial'>- <o:p></o:p></span></font></p>
>
> </div>
>
> </body>
>
> </html>

You might want to consider using an email client that doesn't slobber:
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB
style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
around everywhere.

It's really irritating to have to read around that "deteriorata."
--
(format nil "~S(at)~S" "cbbrowne" "ntlug.org")
http://www3.sympatico.ca/cbbrowne/advocacy.html
A cool feature of OOP is that the simplest examples are 500 lines.
-- Peter Sestoft

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Lor 2006-07-31 21:36:00 Re: DTrace enabled build fails
Previous Message Alvaro Herrera 2006-07-31 21:06:20 Re: Postgres Process in Kernel Mode?