Unix Technical Forum

Insert Only Postgresql

This is a discussion on Insert Only Postgresql within the pgsql Novice forums, part of the PostgreSQL category; --> Hi All, pls, is there an Insert only version of postgreql or any other known database? NO deletes, no ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Novice

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 11:10 PM
Solomon Asare
 
Posts: n/a
Default Insert Only Postgresql

Hi All,
pls, is there an Insert only version of postgreql or any other known
database? NO deletes, no updates. Inserts only! Any leads, please?

Best Regards,
solomon.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 11:10 PM
Daniel T. Staal
 
Posts: n/a
Default Re: Insert Only Postgresql

On Fri, September 8, 2006 4:51 pm, Solomon Asare said:
> Hi All,
> pls, is there an Insert only version of postgreql or any other known
> database? NO deletes, no updates. Inserts only! Any leads, please?


You can create an account that only has insert access, if that's what you
want.

Otherwise... I can't think of why a database would want to ship that way.
If you don't want to use those features, you don't have to use them.

Daniel T. Staal

---------------------------------------------------------------
This email copyright the author. Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes. This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------


---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-17-2008, 11:10 PM
Cyrus Downey
 
Posts: n/a
Default Re: Insert Only Postgresql [VASCL:A10A18D3590]

Daniel T. Staal wrote:

On Fri, September 8, 2006 4:51 pm, Solomon Asare said:



Hi All, pls, is there an Insert only version of postgreql or any other known database? NO deletes, no updates. Inserts only! Any leads, please?



You can create an account that only has insert access, if that's what you want. Otherwise... I can't think of why a database would want to ship that way. If you don't want to use those features, you don't have to use them. Daniel T. Staal


    Another method would be to put in code inside of update triggers and delete triggers to prevent updates and deletes.  I have never tried that in PostGreSql before, but i have done something similar in another DBMS.  The only way to stop people from reading the data (though selects) would be to limit the access of the account, which that has already been noted.

cyrus
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:49 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com