Re: Review: Row-level Locks & SERIALIZABLE transactions, postgres vs. Oracle

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: Florian Pflug <fgp(at)phlo(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Review: Row-level Locks & SERIALIZABLE transactions, postgres vs. Oracle
Date: 2010-07-18 17:23:44
Message-ID: 4C4338A0.4070209@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Kevin Grittner wrote:
> Comment style seems to be defined here:
>
> http://developer.postgresql.org/pgdocs/postgres/source-format.html
>
> as being:
>
> /*
> * comment text begins here
> * and continues here
> */
>
> You have these formats in your patch:
>
> /* comment text begins here
> * and continues here
> */
>
> /* comment text begins here
> and continues here */
>
> /* One line comment like this. */
>
> That last one is actually pretty common in PostgreSQL source, so I'm
> not sure that its omission from the style page isn't accidental.
>
>
>

The style doc talks about a standard for multi-line comments - it
doesn't forbid single line comments.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Christensen 2010-07-18 17:29:22 Re: Patch: psql \whoami option
Previous Message Tom Lane 2010-07-18 17:20:25 Re: ALTER TABLE SET STATISTICS requires AccessExclusiveLock