Re: Doc: typo in ddl.sgml

From: kasaharatt <kasaharatt(at)oss(dot)nttdata(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Doc: typo in ddl.sgml
Date: 2024-11-07 07:00:34
Message-ID: b406ff66b336cd2b02f84546b74e3ceb@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi, thanks for your comment.

> On Wednesday, November 6, 2024, kasaharatt
> <kasaharatt(at)oss(dot)nttdata(dot)com> wrote:.
>
>> I noticed that it seems to me a mistake in the sample code in the
>> document.
>>
> https://www.postgresql.org/docs/devel/ddl-constraints.html#DDL-CONSTRAINTS-FK
>> [1]
>>
>> I think it is a typo for user_id instead of author_id.
>
> It’s hard to argue a typo when three different places need to be
> changed, and the example is fully functional as-is.
Yeah, you are right.
I mistakenly thought it was syntactically incorrect. The sample code
works correctly.

Best regards,

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2024-11-07 07:05:47 Re: magical eref alias names
Previous Message Peter Eisentraut 2024-11-07 06:55:24 Re: Proposals for EXPLAIN: rename ANALYZE to EXECUTE and extend VERBOSE