Thanks a lot for the update. This will be committed in the earliest occasion.
Best;
---
Koichi Suzuki
2014/09/16 11:35、Wang Diancheng <dia...@gm...> のメール:
> Hi,
>
> it lead to following statement crash:
>
> clean connection to all force for regression;
>
> patch attached.
>
> diff --git a/src/backend/pgxc/pool/poolcomm.c b/src/backend/pgxc/pool/poolcomm.c
> index 02d67f3..b775649 100644
> --- a/src/backend/pgxc/pool/poolcomm.c
> +++ b/src/backend/pgxc/pool/poolcomm.c
> @@ -778,7 +778,7 @@ pool_recvpids(PoolPort *port, int **pids)
> {
> int n;
> memcpy(&n, buf + 5 + i * sizeof(int), sizeof(int));
> - *pids[i] = ntohl(n);
> + (*pids)[i] = ntohl(n);
> }
> return n32;
>
> ------------------------------------------------------------------------------
> Want excitement?
> Manually upgrade your production database.
> When you want reliability, choose Perforce.
> Perforce version control. Predictably reliable.
> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk_______________________________________________
> Postgres-xc-developers mailing list
> Pos...@li...
> https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers
|