Re: simply custom variables protection

Поиск
Список
Период
Сортировка
Искать
От
Bruce Momjian
Тема
Re: simply custom variables protection
Дата
Msg-id
200704071655.l37GtWP14609@momjian.us
Ответ на
Список
Дерево обсуждения
Re: simply custom variables protection "Pavel Stehule" <pavel.stehule@hotmail.com>
Re: simply custom variables protection Tom Lane <tgl@sss.pgh.pa.us>
Pavel Stehule wrote:
> Hello Bruce
> 
> My patch allows to allert somebody so any custom variable is protected. I 
> dont understand Tom's arguments. Probably this patch do more than is 
> necessary. Really important for protection is only calling ResetPGVariable() 
> function. My funcionality has only information value.

How does a user protect a custom variable using your code?  I don't see
any API that would allow that.

---------------------------------------------------------------------------

> 
> Regards
> Pavel Stehule
> 
> 
> >From: Bruce Momjian 
> >To: Pavel Stehule 
> >CC: pgsql-patches@postgresql.org, andrew@dunslane.net, tgl@sss.pgh.pa.us
> >Subject: Re: [PATCHES] simply custom variables protection
> >Date: Sat, 7 Apr 2007 11:54:13 -0400 (EDT)
> >
> >
> >Pavel, would you remind me how this is useful?
> >
> >---------------------------------------------------------------------------
> >
> >Pavel Stehule wrote:
> > > Hello
> > >
> > > this patch contains function ArmorCustomVariables. This function set 
> >flag
> > > armored on any custom variable. From this moment only superuser can 
> >change
> > > this variable.
> > >
> > > p.s. use it together with ResetPGVariable()
> > >
> > > Regards
> > > Pavel Stehule
> > >
> > > _________________________________________________________________
> > > Citite se osamele? Poznejte nekoho vyjmecneho diky Match.com.
> > > http://www.msn.cz/
> >
> >[ Attachment, skipping... ]
> >
> > >
> > > ---------------------------(end of broadcast)---------------------------
> > > TIP 1: if posting/reading through Usenet, please send an appropriate
> > >        subscribe-nomail command to majordomo@postgresql.org so that your
> > >        message can get through to the mailing list cleanly
> >
> >--
> >   Bruce Momjian            http://momjian.us
> >   EnterpriseDB                               http://www.enterprisedb.com
> >
> >   + If your life is a hard drive, Christ can be your backup. +
> >
> >---------------------------(end of broadcast)---------------------------
> >TIP 7: You can help support the PostgreSQL project by donating at
> >
> >                 http://www.postgresql.org/about/donate
> 
> _________________________________________________________________
> Najdete si svou lasku a nove pratele na Match.com. http://www.msn.cz/

-- 
  Bruce Momjian            http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +
В списке pgsql-patches по дате отправления
От: Pavel Stehule
Дата:
От: Pavan Deolasee
Дата:
FAQ