Re: Updates of SE-PostgreSQL 8.4devel patches (r1268)

From: KaiGai Kohei <kaigai(at)kaigai(dot)gr(dot)jp>
To: Greg Stark <greg(dot)stark(at)enterprisedb(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, KaiGai Kohei <kaigai(at)ak(dot)jp(dot)nec(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Updates of SE-PostgreSQL 8.4devel patches (r1268)
Date: 2008-12-10 12:34:34
Message-ID: 493FB75A.2020203@kaigai.gr.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Greg Stark wrote:
> Is there any reason it's easier to do as a configure option instead of
> an initdb option or better yet a per-database option?

SE-PostgreSQL needs "libselinux" to communicate with SELinux,
however, it is not available for non-SELinux'ed platforms.

> The reason we're shying away from configure options for functionality
> changes is that more and more users are getting pistgres from binary
> distributions. Which option should redhat ship for example?

As we're doing on Fedora, SE-PostgreSQL will be distributed as
a separated package.
If a user want to start SE- version, he will install another
binary package, and stop vanilla PostgreSQl, and start SE-PostgreSQL.

> Also, a configure option is kind if weird since that's a property of the
> binary not the data: what happens if you build a database with selinux
> and the switch binaries to a non-we build? Is that option in pg_control?

In this case, the vanilla PostgreSQL should be simply ignore the
data which is generated by SE-PostgreSQL.

Thanks,
--
KaiGai Kohei <kaigai(at)kaigai(dot)gr(dot)jp>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2008-12-10 12:39:29 Re: Sync Rep: First Thoughts on Code
Previous Message Bruce Momjian 2008-12-10 12:30:03 Re: WIP: default values for function parameters