From: | Gregory Stark <stark(at)enterprisedb(dot)com> |
---|---|
To: | <josh(at)agliodbs(dot)com> |
Cc: | <pgsql-hackers(at)postgresql(dot)org>, "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com>, "FAST PostgreSQL" <fastpgs(at)fast(dot)fujitsu(dot)com(dot)au> |
Subject: | Re: Updatable cursor doubt |
Date: | 2007-09-05 01:12:40 |
Message-ID: | 877in56hkn.fsf@oxford.xeocode.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
"Josh Berkus" <josh(at)agliodbs(dot)com> writes:
> Who are we, MySQL? We ought not to accept the syntax if we're not going
> to enforce it.
I think the thinking is that the syntax doesn't promise anything about
enforcing any restrictions. It's a method for the user to declare what
features he needs. Ie, without that clause (or with a FOR UPDATE?) the
database should signal an error in cases where the cursor won't handle
updates. But with that clause the user is telling us that he's ok with
not being able to update the cursor.
Perhaps a better way to think about this case is "should you raise an
error if someone opens a file in read-only mode when they actually do
have write permission?"
--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | John DeSoi | 2007-09-05 03:49:45 | Re: Has anyone tried out the PL/pgSQL debugger? |
Previous Message | korry.douglas | 2007-09-05 00:55:21 | Re: Has anyone tried out the PL/pgSQL debugger? |