pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Add some comments to test_ddl_deparse and a README
4+ messages / 3 participants
[nested] [flat]

* pgsql: Add some comments to test_ddl_deparse and a README
@ 2015-07-20 09:21  Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Alvaro Herrera @ 2015-07-20 09:21 UTC (permalink / raw)
  To: pgsql-committers

Add some comments to test_ddl_deparse and a README

Per comments from Heikki Linnakangas.

Backpatch to 9.5, where this module was introduced.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/f1f3434f210450af2e3dab08fbc05a9edd0b67a4

Modified Files
--------------
src/test/modules/test_ddl_deparse/README           |    8 ++++++
.../modules/test_ddl_deparse/test_ddl_deparse.c    |   26 ++++++++++++++++++++
2 files changed, 34 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Add some comments to test_ddl_deparse and a README
@ 2015-07-20 09:21  Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 1 reply; 4+ messages in thread

From: Alvaro Herrera @ 2015-07-20 09:21 UTC (permalink / raw)
  To: pgsql-committers

Add some comments to test_ddl_deparse and a README

Per comments from Heikki Linnakangas.

Backpatch to 9.5, where this module was introduced.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8f612b7f0042a33f59cd4a18144b4d74e78b6859

Modified Files
--------------
src/test/modules/test_ddl_deparse/README           |    8 ++++++
.../modules/test_ddl_deparse/test_ddl_deparse.c    |   26 ++++++++++++++++++++
2 files changed, 34 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: pgsql: Add some comments to test_ddl_deparse and a README
@ 2015-07-20 09:40  Heikki Linnakangas <hlinnaka@iki.fi>
  parent: Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 1 reply; 4+ messages in thread

From: Heikki Linnakangas @ 2015-07-20 09:40 UTC (permalink / raw)
  To: Alvaro Herrera <alvherre@alvh.no-ip.org>; pgsql-committers

On 07/20/2015 12:21 PM, Alvaro Herrera wrote:
> Add some comments to test_ddl_deparse and a README
>
> Per comments from Heikki Linnakangas.
>
> Backpatch to 9.5, where this module was introduced.

I already added the ReAddComment case there, and you get a compiler 
error now:

est_ddl_deparse.c: In function ‘get_altertable_subcmdtypes’:
test_ddl_deparse.c:179:4: error: duplicate case value
     case AT_ReAddComment:
     ^
test_ddl_deparse.c:155:4: error: previously used here
     case AT_ReAddComment:
     ^

I'll let you fix that, so that I won't joggle your elbow again ;-)

- Heikki



-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: pgsql: Add some comments to test_ddl_deparse and a README
@ 2015-07-20 09:52  Alvaro Herrera <alvherre@2ndquadrant.com>
  parent: Heikki Linnakangas <hlinnaka@iki.fi>
  0 siblings, 0 replies; 4+ messages in thread

From: Alvaro Herrera @ 2015-07-20 09:52 UTC (permalink / raw)
  To: Heikki Linnakangas <hlinnaka@iki.fi>; +Cc: pgsql-committers

Heikki Linnakangas wrote:
> On 07/20/2015 12:21 PM, Alvaro Herrera wrote:
> >Add some comments to test_ddl_deparse and a README
> >
> >Per comments from Heikki Linnakangas.
> >
> >Backpatch to 9.5, where this module was introduced.
> 
> I already added the ReAddComment case there, and you get a compiler error
> now:

Wow, I mismerged and failed to realize.  Bah.

> est_ddl_deparse.c: In function ‘get_altertable_subcmdtypes’:
> test_ddl_deparse.c:179:4: error: duplicate case value
>     case AT_ReAddComment:
>     ^
> test_ddl_deparse.c:155:4: error: previously used here
>     case AT_ReAddComment:
>     ^
> 
> I'll let you fix that, so that I won't joggle your elbow again ;-)

Thanks

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2015-07-20 09:52 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-07-20 09:21 pgsql: Add some comments to test_ddl_deparse and a README Alvaro Herrera <alvherre@alvh.no-ip.org>
2015-07-20 09:40 ` Heikki Linnakangas <hlinnaka@iki.fi>
2015-07-20 09:52   ` Alvaro Herrera <alvherre@2ndquadrant.com>
2015-07-20 09:21 pgsql: Add some comments to test_ddl_deparse and a README Alvaro Herrera <alvherre@alvh.no-ip.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox