From: | "Tsunakawa, Takayuki" <tsunakawa(dot)takay(at)jp(dot)fujitsu(dot)com> |
---|---|
To: | 'Michael Paquier' <michael(at)paquier(dot)xyz>, Ashutosh Bapat <ashutosh(dot)bapat(at)enterprisedb(dot)com> |
Cc: | MauMau <maumau307(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Robert Haas <robertmhaas(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | RE: I'd like to discuss scaleout at PGCon |
Date: | 2018-06-07 06:17:21 |
Message-ID: | 0A3221C70F24FB45833433255569204D1F9A0473@G01JPEXMBYT05 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
From: Michael Paquier [mailto:michael(at)paquier(dot)xyz]
> > On Wed, Jun 6, 2018 at 8:16 PM, MauMau <maumau307(at)gmail(dot)com> wrote:
> >> Looking at the XL source code, the following sequence of functions
> >> are called when the coordinator handles the Row Description message
> >> ('T') from the data node. I guess the parsing is necessary to
> >> process type names combined with type modifiers, e.g. "char(100)".
> >>
> >> create_tuple_desc
> >> parseTypeString
> >> typeStringToTypeName
> >> raw_parser
> >
> > Hmm, strange. I had not seen that in Postgres-XC.
>
> Where is that located in the XC code? If you point out to the location
> it may revive some past memories from either Ashutosh or me.
The XL-specific code path is this in src/backend/pgxc/pool/execRemote.c (I don't know this also exists in XC):
handle_response -> HandleRowDescription -> create_tuple_desc
I think the rest exists in PostgreSQL:
parseTypeString -> typeStringToTypeName -> raw_parser
Regards
Takayuki Tsunakawa
From | Date | Subject | |
---|---|---|---|
Next Message | Tsunakawa, Takayuki | 2018-06-07 06:24:12 | RE: I'd like to discuss scaleout at PGCon |
Previous Message | Amit Kapila | 2018-06-07 06:14:57 | Re: Concurrency bug in UPDATE of partition-key |