pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix assorted places in psql to print version numbers >= 10 in ne
5+ messages / 1 participants
[nested] [flat]

* pgsql: Fix assorted places in psql to print version numbers >= 10 in ne
@ 2016-08-16 19:59  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 5+ messages in thread

From: Tom Lane @ 2016-08-16 19:59 UTC (permalink / raw)
  To: pgsql-committers

Fix assorted places in psql to print version numbers >= 10 in new style.

This is somewhat cosmetic, since as long as you know what you are looking
at, "10.0" is a serviceable substitute for "10".  But there is a potential
for confusion between version numbers with minor numbers and those without
--- we don't want people asking "why is psql saying 10.0 when my server is
10.2".  Therefore, back-patch as far as practical, which turns out to be
9.3.  I could have redone the patch to use fprintf(stderr) in place of
psql_error(), but it seems more work than is warranted for branches that
will be EOL or nearly so by the time v10 comes out.

Although only psql seems to contain any code that needs this, I chose
to put the support function into fe_utils, since it seems likely we'll
need it in other client programs in future.  (In 9.3-9.5, use dumputils.c,
the predecessor of fe_utils/string_utils.c.)

In HEAD, also fix the backend code that whines about loadable-library
version mismatch.  I don't see much need to back-patch that.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/41bea9904503f36b51ff94ee68edfa6b0f5cd3f8

Modified Files
--------------
src/bin/pg_dump/dumputils.c | 38 ++++++++++++++++++
src/bin/pg_dump/dumputils.h |  2 +
src/bin/psql/command.c      | 36 ++++++++++-------
src/bin/psql/common.c       |  8 +++-
src/bin/psql/describe.c     | 98 ++++++++++++++++++++++++++++++++-------------
5 files changed, 138 insertions(+), 44 deletions(-)


-- 
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] 5+ messages in thread

* pgsql: Fix assorted places in psql to print version numbers >= 10 in ne
@ 2016-08-16 19:59  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 5+ messages in thread

From: Tom Lane @ 2016-08-16 19:59 UTC (permalink / raw)
  To: pgsql-committers

Fix assorted places in psql to print version numbers >= 10 in new style.

This is somewhat cosmetic, since as long as you know what you are looking
at, "10.0" is a serviceable substitute for "10".  But there is a potential
for confusion between version numbers with minor numbers and those without
--- we don't want people asking "why is psql saying 10.0 when my server is
10.2".  Therefore, back-patch as far as practical, which turns out to be
9.3.  I could have redone the patch to use fprintf(stderr) in place of
psql_error(), but it seems more work than is warranted for branches that
will be EOL or nearly so by the time v10 comes out.

Although only psql seems to contain any code that needs this, I chose
to put the support function into fe_utils, since it seems likely we'll
need it in other client programs in future.  (In 9.3-9.5, use dumputils.c,
the predecessor of fe_utils/string_utils.c.)

In HEAD, also fix the backend code that whines about loadable-library
version mismatch.  I don't see much need to back-patch that.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/7f35949aaf6feadb79450808af07d9aabd338b14

Modified Files
--------------
src/bin/pg_dump/dumputils.c | 38 ++++++++++++++++++
src/bin/pg_dump/dumputils.h |  2 +
src/bin/psql/command.c      | 36 ++++++++++-------
src/bin/psql/common.c       |  8 +++-
src/bin/psql/describe.c     | 98 ++++++++++++++++++++++++++++++++-------------
5 files changed, 138 insertions(+), 44 deletions(-)


-- 
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] 5+ messages in thread

* pgsql: Fix assorted places in psql to print version numbers >= 10 in ne
@ 2016-08-16 19:59  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 5+ messages in thread

From: Tom Lane @ 2016-08-16 19:59 UTC (permalink / raw)
  To: pgsql-committers

Fix assorted places in psql to print version numbers >= 10 in new style.

This is somewhat cosmetic, since as long as you know what you are looking
at, "10.0" is a serviceable substitute for "10".  But there is a potential
for confusion between version numbers with minor numbers and those without
--- we don't want people asking "why is psql saying 10.0 when my server is
10.2".  Therefore, back-patch as far as practical, which turns out to be
9.3.  I could have redone the patch to use fprintf(stderr) in place of
psql_error(), but it seems more work than is warranted for branches that
will be EOL or nearly so by the time v10 comes out.

Although only psql seems to contain any code that needs this, I chose
to put the support function into fe_utils, since it seems likely we'll
need it in other client programs in future.  (In 9.3-9.5, use dumputils.c,
the predecessor of fe_utils/string_utils.c.)

In HEAD, also fix the backend code that whines about loadable-library
version mismatch.  I don't see much need to back-patch that.

Branch
------
REL9_6_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/32b99efd6a39ca06abe0514865da5f75e2e3f69b

Modified Files
--------------
src/bin/psql/command.c              |  50 ++++++++++-------
src/bin/psql/common.c               |   8 ++-
src/bin/psql/describe.c             | 105 +++++++++++++++++++++++++-----------
src/fe_utils/string_utils.c         |  38 +++++++++++++
src/include/fe_utils/string_utils.h |   3 ++
5 files changed, 154 insertions(+), 50 deletions(-)


-- 
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] 5+ messages in thread

* pgsql: Fix assorted places in psql to print version numbers >= 10 in ne
@ 2016-08-16 19:59  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 5+ messages in thread

From: Tom Lane @ 2016-08-16 19:59 UTC (permalink / raw)
  To: pgsql-committers

Fix assorted places in psql to print version numbers >= 10 in new style.

This is somewhat cosmetic, since as long as you know what you are looking
at, "10.0" is a serviceable substitute for "10".  But there is a potential
for confusion between version numbers with minor numbers and those without
--- we don't want people asking "why is psql saying 10.0 when my server is
10.2".  Therefore, back-patch as far as practical, which turns out to be
9.3.  I could have redone the patch to use fprintf(stderr) in place of
psql_error(), but it seems more work than is warranted for branches that
will be EOL or nearly so by the time v10 comes out.

Although only psql seems to contain any code that needs this, I chose
to put the support function into fe_utils, since it seems likely we'll
need it in other client programs in future.  (In 9.3-9.5, use dumputils.c,
the predecessor of fe_utils/string_utils.c.)

In HEAD, also fix the backend code that whines about loadable-library
version mismatch.  I don't see much need to back-patch that.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/6d1dc2afbd5536e39977343c7e11b6954c9ceaf8

Modified Files
--------------
src/bin/pg_dump/dumputils.c | 38 ++++++++++++++++++
src/bin/pg_dump/dumputils.h |  2 +
src/bin/psql/command.c      | 36 ++++++++++-------
src/bin/psql/common.c       |  8 +++-
src/bin/psql/describe.c     | 98 ++++++++++++++++++++++++++++++++-------------
5 files changed, 138 insertions(+), 44 deletions(-)


-- 
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] 5+ messages in thread

* pgsql: Fix assorted places in psql to print version numbers >= 10 in ne
@ 2016-08-16 19:59  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 5+ messages in thread

From: Tom Lane @ 2016-08-16 19:59 UTC (permalink / raw)
  To: pgsql-committers

Fix assorted places in psql to print version numbers >= 10 in new style.

This is somewhat cosmetic, since as long as you know what you are looking
at, "10.0" is a serviceable substitute for "10".  But there is a potential
for confusion between version numbers with minor numbers and those without
--- we don't want people asking "why is psql saying 10.0 when my server is
10.2".  Therefore, back-patch as far as practical, which turns out to be
9.3.  I could have redone the patch to use fprintf(stderr) in place of
psql_error(), but it seems more work than is warranted for branches that
will be EOL or nearly so by the time v10 comes out.

Although only psql seems to contain any code that needs this, I chose
to put the support function into fe_utils, since it seems likely we'll
need it in other client programs in future.  (In 9.3-9.5, use dumputils.c,
the predecessor of fe_utils/string_utils.c.)

In HEAD, also fix the backend code that whines about loadable-library
version mismatch.  I don't see much need to back-patch that.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7f61fd10ceb715eceece49451f6dfe9058044e15

Modified Files
--------------
src/backend/utils/fmgr/dfmgr.c      |  18 +++++--
src/bin/psql/command.c              |  50 ++++++++++-------
src/bin/psql/common.c               |   8 ++-
src/bin/psql/describe.c             | 105 +++++++++++++++++++++++++-----------
src/fe_utils/string_utils.c         |  38 +++++++++++++
src/include/fe_utils/string_utils.h |   3 ++
6 files changed, 167 insertions(+), 55 deletions(-)


-- 
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] 5+ messages in thread


end of thread, other threads:[~2016-08-16 19:59 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-08-16 19:59 pgsql: Fix assorted places in psql to print version numbers >= 10 in ne Tom Lane <tgl@sss.pgh.pa.us>
2016-08-16 19:59 pgsql: Fix assorted places in psql to print version numbers >= 10 in ne Tom Lane <tgl@sss.pgh.pa.us>
2016-08-16 19:59 pgsql: Fix assorted places in psql to print version numbers >= 10 in ne Tom Lane <tgl@sss.pgh.pa.us>
2016-08-16 19:59 pgsql: Fix assorted places in psql to print version numbers >= 10 in ne Tom Lane <tgl@sss.pgh.pa.us>
2016-08-16 19:59 pgsql: Fix assorted places in psql to print version numbers >= 10 in ne Tom Lane <tgl@sss.pgh.pa.us>

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