Search Postgresql Archives

Re: [NOVICE] Insert Only Postgresql

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/8/06, Brandon Aiken <BAiken@xxxxxxxxxxxxxxx> wrote:
Sure.  Any RDBMS can do that.  Just create a user account (login role for
PostgreSQL) and only grant the INSERT privilege to them on your tables, then
connect with that account with your program.  Any DELETE or UPDATE
statements will automatically fail.

all tables in postgresql have insert, update, and delete rights you
can grant or revoke.  If you want to be smart and save time, you can
make a procedure to query information_schema and do this automatically
for you with some dynamic sql [hi, karen!] and just call it whenever
you make new tables.

merlin


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux