Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YLDXv-0001AP-2k for pgsql-bugs@arkaria.postgresql.org; Tue, 10 Feb 2015 16:20:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YLDXu-0003em-F6 for pgsql-bugs@arkaria.postgresql.org; Tue, 10 Feb 2015 16:20:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YLCiw-0000zL-LD for pgsql-bugs@postgresql.org; Tue, 10 Feb 2015 15:27:38 +0000 Received: from bay004-omc2s10.hotmail.com ([65.54.190.85]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YLCir-0007mF-GT for pgsql-bugs@postgresql.org; Tue, 10 Feb 2015 15:27:37 +0000 Received: from BAY179-W70 ([65.54.190.124]) by BAY004-OMC2S10.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Tue, 10 Feb 2015 07:27:30 -0800 X-TMN: [TDXICZwubBTivJ/kWgWp5K5lQe+Ok6KG] X-Originating-Email: [deanelliotdeloach@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_f3d7aa82-4a51-47b7-ab52-c67a6d697830_" From: dean deloach To: Tom Lane , Mark Kirkwood CC: Michael Paquier , "pgsql-bugs@postgresql.org" Subject: Re: BUG #12749: WARNING: unrecognized node type: 701 Date: Tue, 10 Feb 2015 07:27:29 -0800 Importance: Normal In-Reply-To: <27093.1423581277@sss.pgh.pa.us> References: <20150209000438.15323.61820@wrigleys.postgresql.org>, <54D96484.5000906@catalyst.net.nz>, <54D9C1F8.90204@catalyst.net.nz>,<27093.1423581277@sss.pgh.pa.us> MIME-Version: 1.0 X-OriginalArrivalTime: 10 Feb 2015 15:27:30.0621 (UTC) FILETIME=[159A5ED0:01D04546] X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org --_f3d7aa82-4a51-47b7-ab52-c67a6d697830_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable thanks for the response Tom=2C I think the GP consultant made a mistake tho= ugh=2C he should have wrote "unrecognized node"...but then again=2C I'm not= privy to the GP-side trace-output logs=2C I'll check with him on that...st= ill can't believe they think it's an ODBC error.. =20 I saw the actual code you were referring to in utility.c=2C and the default= for the CASE statement at the end=2C right along with the "unrecognized no= de type %d" error output message. I'm sure it's some bug/outdated bin on t= he GP side..I can't see how a SELECT statement against a DB would cause a s= kipped record=2C under any type of log setting in a DB =20 Thank you again=2C to both of you for the responses...really appreciate it = a 'bunch=2C very helpful.. =20 > From: tgl@sss.pgh.pa.us > To: mark.kirkwood@catalyst.net.nz > CC: deanelliotdeloach@hotmail.com=3B michael.paquier@gmail.com=3B pgsql-b= ugs@postgresql.org > Subject: Re: [BUGS] BUG #12749: WARNING: unrecognized node type: 701 > Date: Tue=2C 10 Feb 2015 10:14:37 -0500 >=20 > Mark Kirkwood writes: > > On 10/02/15 16:54=2C dean deloach wrote: > >> Thanks for the response guys=2C really appreciate it. Turns out=2C it= has > >> something to do with the log_statement config parameter on the DB. Th= e > >> DBA changed and no one knew...these are the results we get when we > >> attempt to pull data from the GP instance via Datadirect drivers=2C fo= r > >> different log_statement config values: > >>=20 > >>=20 > >> log_statement=3Dall - returns n records=2C no errors logged in Greenp= lum > >> log file > >>=20 > >> log_statement=3Dnone - returns n records=2C no errors logged in Green= plum > >> log file > >>=20 > >> log_statement=3Dmod - returns n-1 records=2C "unknown node: 701" erro= r > >> logged in Greenplum log file > >>=20 > >> log_statement=3Dddl - returns n-1 records=2C "unknown node: 701" erro= r > >> logged in Greenplum log file > >>=20 >=20 > > That is pretty scary - I'd still recommend raising it with Pivotal -=20 > > logging options changing the results of queries is ...*unexpected*...to= =20 > > put it mildly! >=20 > Given the described behavior=2C I'd bet a lot that it means somebody > missed a case in GetCommandLogLevel(). Which makes it annoying=2C but > not especially scary except for the fact that the failure is causing > it to abort the user query too soon. >=20 > FWIW=2C the phrase "unknown node" does not appear in the community Postgr= es > sources=2C either now or back in 8.2=3B it would violate our message styl= e > guidelines to write it like that. So this is coming from some > Greenplum-added code=2C and you definitely have to talk to them about it. >=20 > regards=2C tom lane = --_f3d7aa82-4a51-47b7-ab52-c67a6d697830_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
thanks for =3Bthe response T= om=2C I think the =3BGP consultant made a mistake though=2C =3Bhe s= hould have wrote "unrecognized node"...but then again=2C I'm not privy to t= he GP-side trace-output logs=2C I'll check with him on that...still can't b= elieve they think it's an ODBC error..
 =3B
I saw the actual code= you were referring to in utility.c=2C and the default for the CASE stateme= nt at the end=2C =3Bright along with the =3B"unrecognized node type= %d" error output message. =3B I'm sure it's some bug/outdated bin on t= he GP side..I can't see how a SELECT statement against =3Ba DB would ca= use a skipped record=2C under any type of log setting in a DB
 =3BThank you again=2C to both of =3Byou for the responses...really appre= ciate it a 'bunch=2C very helpful..
 =3B
>=3B From: tgl@ss= s.pgh.pa.us
>=3B To: mark.kirkwood@catalyst.net.nz
>=3B CC: deane= lliotdeloach@hotmail.com=3B michael.paquier@gmail.com=3B pgsql-bugs@postgre= sql.org
>=3B Subject: Re: [BUGS] BUG #12749: WARNING: unrecognized nod= e type: 701
>=3B Date: Tue=2C 10 Feb 2015 10:14:37 -0500
>=3B >=3B Mark Kirkwood <=3Bmark.kirkwood@catalyst.net.nz>=3B writes:
= >=3B >=3B On 10/02/15 16:54=2C dean deloach wrote:
>=3B >=3B>= =3B Thanks for the response guys=2C really appreciate it. Turns out=2C it = has
>=3B >=3B>=3B something to do with the log_statement config pa= rameter on the DB. The
>=3B >=3B>=3B DBA changed and no one knew.= ..these are the results we get when we
>=3B >=3B>=3B attempt to pu= ll data from the GP instance via Datadirect drivers=2C for
>=3B >=3B= >=3B different log_statement config values:
>=3B >=3B>=3B
&g= t=3B >=3B>=3B
>=3B >=3B>=3B log_statement=3Dall - returns n = records=2C no errors logged in Greenplum
>=3B >=3B>=3B log file>=3B >=3B>=3B
>=3B >=3B>=3B log_statement=3Dnone - return= s n records=2C no errors logged in Greenplum
>=3B >=3B>=3B log fil= e
>=3B >=3B>=3B
>=3B >=3B>=3B log_statement=3Dmod - ret= urns n-1 records=2C "unknown node: 701" error
>=3B >=3B>=3B logged= in Greenplum log file
>=3B >=3B>=3B
>=3B >=3B>=3B log_s= tatement=3Dddl - returns n-1 records=2C "unknown node: 701" error
>= =3B >=3B>=3B logged in Greenplum log file
>=3B >=3B>=3B
&g= t=3B
>=3B >=3B That is pretty scary - I'd still recommend raising i= t with Pivotal -
>=3B >=3B logging options changing the results of = queries is ...*unexpected*...to
>=3B >=3B put it mildly!
>=3B =
>=3B Given the described behavior=2C I'd bet a lot that it means some= body
>=3B missed a case in GetCommandLogLevel(). Which makes it annoy= ing=2C but
>=3B not especially scary except for the fact that the fail= ure is causing
>=3B it to abort the user query too soon.
>=3B >=3B FWIW=2C the phrase "unknown node" does not appear in the community = Postgres
>=3B sources=2C either now or back in 8.2=3B it would violate= our message style
>=3B guidelines to write it like that. So this is = coming from some
>=3B Greenplum-added code=2C and you definitely have = to talk to them about it.
>=3B
>=3B regards=2C tom lane
= --_f3d7aa82-4a51-47b7-ab52-c67a6d697830_--