Re: dividing money by money - Mailing list pgsql-hackers

From Andy Balholm
Subject Re: dividing money by money
Date
Msg-id 07CD1302-559F-470E-8D6A-CB57C5625ED3@balholm.com
Whole thread Raw
In response to Re: dividing money by money  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: dividing money by money
List pgsql-hackers
On Jun 21, 2010, at 11:47 AM, Kevin Grittner wrote:

> Yes, although the line endings are Windows format (CR/LF).

The line endings must have gotten changed in transit. My original diff used just LF. I made it on a Mac.

> The only issue is with the general guideline to make the new code
> blend in with existing code:
>
> http://wiki.postgresql.org/wiki/Submitting_a_Patch
>
> | Generally, try to blend in with the surrounding code.
>
> | Comments are for clarification not for delineating your code from
> | the surroundings.
>
> There are comments to set off the new code, and some of the new DATA
> lines (and similar) are separated away from where one would expect
> them to be if they had been included with the rest.  Moving a few
> lines and deleting a few comment lines would resolve it.

I deleted the excess comments and moved some lines around. Here it is with the changes.

Attachment

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: server authentication over Unix-domain sockets
Next
From: Alexander Korotkov
Date:
Subject: Re: Using multidimensional indexes in ordinal queries