On Wed, Jun 9, 2010 at 2:58 AM, Dean Rasheed <dean.a.rash...@gmail.com> wrote: > On 9 June 2010 03:48, Robert Haas <robertmh...@gmail.com> wrote: >> Er, I should also say, thanks for the report, and please test. I am >> definitely not an expert on YAML. >> > > I'm not an expert on YAML either, but I don't think this works (at > least it breaks against the online YAML parser here: > http://yaml-online-parser.appspot.com/). If the string starts with a > ".", then it tries to treat it as a floating point number and baulks > if the rest of the string isn't a valid number.
Really? I enter: - foo - bar - .baz And it produces this JSON: [ "foo", "bar", ".baz" ] That looks OK to me. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise Postgres Company -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs