From: | Oleg Bartunov <oleg(at)sai(dot)msu(dot)su> |
---|---|
To: | rupesh bajaj <rupesh(dot)bajaj(at)gmail(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: How to hidde the column from the user |
Date: | 2007-05-01 10:21:33 |
Message-ID: | Pine.LNX.4.64.0705011420000.12152@sn.sai.msu.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, 1 May 2007, rupesh bajaj wrote:
> Hi,
> I want to add a column in the table and also want to hidde that column from
> the user. So that user's normal insertion and update goes on (means user
> will not supply the value for my hidden column). Is there any way to hidde
> the column from the user. I tried to make my column (attisdropped setting as
> true). So now that column is hide from the user but now that column will be
> sometime deleted by postgres. But i do not want that my column should be
> deleted. Is there any way for doing this. Or can you suggest some better way
> for this.
Let user work with view public.table_view, which is a view of
backend.table.
Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru)
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83
From | Date | Subject | |
---|---|---|---|
Next Message | shieldy | 2007-05-01 12:18:16 | Re: [HACKERS] SOS, help me please, one problem towards the postgresql developement on windows |
Previous Message | Martijn van Oosterhout | 2007-05-01 09:48:21 | Re: How to hidde the column from the user |