Re: [GENERAL] Possible bug with row_to_json

2013-08-05 Thread Merlin Moncure
On Mon, Aug 5, 2013 at 5:15 PM, Jack Christensen wrote: > When using a subquery as a source for row_to_json, depending on the order of > arguments it may ignore renaming a column. > > jack=# create table player( > jack(# player_id serial primary key, > jack(# name varchar not null unique > jac

[GENERAL] Possible bug with row_to_json

2013-08-05 Thread Jack Christensen
When using a subquery as a source for row_to_json, depending on the order of arguments it may ignore renaming a column. jack=# create table player( jack(# player_id serial primary key, jack(# name varchar not null unique jack(# ); NOTICE: CREATE TABLE will create implicit sequence "player_