Re: Small code clean-up - Mailing list pgsql-patches

From Magnus Hagander
Subject Re: Small code clean-up
Date
Msg-id 20070328080615.GA11810@svr2.hagander.net
Whole thread Raw
In response to Small code clean-up  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
List pgsql-patches
On Wed, Mar 28, 2007 at 10:23:09AM +0900, ITAGAKI Takahiro wrote:
> Here are two small code clean-up in initdb and win32_shmem.
>
> pg_char_to_encoding() was redundant in initdb because
> pg_valid_server_encoding() returns the same result if the encoding is valid,
>
> Changes in win32_shmem suppress the following warnings.
> | pg_shmem.c: In function `PGSharedMemoryCreate':
> | pg_shmem.c:137: warning: long unsigned int format, Size arg (arg 2)
> | pg_shmem.c:159: warning: long unsigned int format, Size arg (arg 2)
>

When you send two completely unrelated patches, please send them in
separate emails.

I have applied the win32 shmem part, thanks. Haven't had time to look into
the other one.

//Magnus


pgsql-patches by date:

Previous
From: Koichi Suzuki
Date:
Subject: Re: [HACKERS] Full page writes improvement, code update
Next
From: Heikki Linnakangas
Date:
Subject: Re: LIMIT/SORT optimization