stringToNode() for plan nodes... - Mailing list pgsql-general

From Katsaros Kwn/nos
Subject stringToNode() for plan nodes...
Date
Msg-id 1094582756.8463.8.camel@localhost.localdomain
Whole thread Raw
Responses Re: stringToNode() for plan nodes...
List pgsql-general
Hi!

I have a problem with stringToNode() function. I'm trying to convert a
Plan into its ASCII representation. This seems to succeed. The problem
is that when I try to convert it back with stringToNode() the following
error is reported:

" ERROR:  badly formatted node string "SEQSCAN :startup_cost 0.00
:tota"... "

In  other words stringToNode(nodeToString(plan)) fails.

I've read somewhere that there is no support in stringToNode() for Plan
nodes.Is this true? I want it to work in order to store (in ASCII
format) and then read a Plan from disc. Any suggestions...?

Thanks in advance!
Katsaros Kwn/nos


pgsql-general by date:

Previous
From: Nick Hajek
Date:
Subject: V8.0 beta 1 Void type
Next
From: Björn Lundin
Date:
Subject: Re: error: insert has more expressions than target column