A few string fixed

Started by Daniele Varrazzoabout 13 years ago3 messageshackers
Jump to latest
#1Daniele Varrazzo
daniele.varrazzo@gmail.com

Hello,

while translating the new PostgreSQL 9.3 strings I've found a couple
questionable. Patches attached.

Cheers,

-- Daniele

Attachments:

0001-Fixed-MultiXactIds-string-warning.patchapplication/octet-stream; name=0001-Fixed-MultiXactIds-string-warning.patchDownload+2-3
0002-Fixed-pasto-in-hint-string-about-making-views-deleta.patchapplication/octet-stream; name=0002-Fixed-pasto-in-hint-string-about-making-views-deleta.patchDownload+1-2
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Daniele Varrazzo (#1)
Re: A few string fixed

Daniele Varrazzo <daniele.varrazzo@gmail.com> writes:

while translating the new PostgreSQL 9.3 strings I've found a couple
questionable. Patches attached.

Hmm ... I agree with the MultiXactId->MultiXactIds changes, but not with
this one:

-						   errhint("To make the view updatable, provide an unconditional ON DELETE DO INSTEAD rule or an INSTEAD OF DELETE trigger.")));
+						   errhint("To make the view deletable, provide an unconditional ON DELETE DO INSTEAD rule or an INSTEAD OF DELETE trigger.")));

We use the phrase "updatable view", we don't say "deletable view"
(and this usage is also found in the SQL standard). We could possibly
make the message say "To make the view updatable in this way", or
"... for this purpose", but that seems a bit long-winded to me.

regards, tom lane

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#3Daniele Varrazzo
daniele.varrazzo@gmail.com
In reply to: Tom Lane (#2)
Re: A few string fixed

On Wed, Mar 20, 2013 at 2:01 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

Daniele Varrazzo <daniele.varrazzo@gmail.com> writes:

while translating the new PostgreSQL 9.3 strings I've found a couple
questionable. Patches attached.

Hmm ... I agree with the MultiXactId->MultiXactIds changes, but not with
this one:

-                                                errhint("To make the view updatable, provide an unconditional ON DELETE DO INSTEAD rule or an INSTEAD OF DELETE trigger.")));
+                                                errhint("To make the view deletable, provide an unconditional ON DELETE DO INSTEAD rule or an INSTEAD OF DELETE trigger.")));

We use the phrase "updatable view", we don't say "deletable view"
(and this usage is also found in the SQL standard). We could possibly
make the message say "To make the view updatable in this way", or
"... for this purpose", but that seems a bit long-winded to me.

Ok, I'd just thought it was a pasto.

-- Daniele

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers