pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Silence compiler warning in assertion-enabled builds.
8+ messages / 2 participants
[nested] [flat]

* pgsql: Silence compiler warning in assertion-enabled builds.
@ 2013-07-02 14:54 Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 8+ messages in thread

From: Heikki Linnakangas @ 2013-07-02 14:54 UTC (permalink / raw)
  To: pgsql-committers

Silence compiler warning in assertion-enabled builds.

With -Wtype-limits, gcc correctly points out that size_t can never be < 0.
Backpatch to 9.3 and 9.2. It's been like this forever, but in <= 9.1 you got
a lot other warnings with -Wtype-limits anyway (at least with my version of
gcc).

Andres Freund

Branch
------
master

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

Modified Files
--------------
src/pl/plpython/plpy_procedure.c |    4 ++--
1 file changed, 2 insertions(+), 2 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] 8+ messages in thread

* pgsql: Silence compiler warning in assertion-enabled builds.
@ 2013-07-02 14:54 Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 8+ messages in thread

From: Heikki Linnakangas @ 2013-07-02 14:54 UTC (permalink / raw)
  To: pgsql-committers

Silence compiler warning in assertion-enabled builds.

With -Wtype-limits, gcc correctly points out that size_t can never be < 0.
Backpatch to 9.3 and 9.2. It's been like this forever, but in <= 9.1 you got
a lot other warnings with -Wtype-limits anyway (at least with my version of
gcc).

Andres Freund

Branch
------
REL9_3_STABLE

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

Modified Files
--------------
src/pl/plpython/plpy_procedure.c |    4 ++--
1 file changed, 2 insertions(+), 2 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] 8+ messages in thread

* pgsql: Silence compiler warning in assertion-enabled builds.
@ 2013-07-02 14:54 Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 8+ messages in thread

From: Heikki Linnakangas @ 2013-07-02 14:54 UTC (permalink / raw)
  To: pgsql-committers

Silence compiler warning in assertion-enabled builds.

With -Wtype-limits, gcc correctly points out that size_t can never be < 0.
Backpatch to 9.3 and 9.2. It's been like this forever, but in <= 9.1 you got
a lot other warnings with -Wtype-limits anyway (at least with my version of
gcc).

Andres Freund

Branch
------
REL9_2_STABLE

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

Modified Files
--------------
src/pl/plpython/plpy_procedure.c |    4 ++--
1 file changed, 2 insertions(+), 2 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] 8+ messages in thread

* pgsql: Silence compiler warning in Assert()
@ 2018-10-08 13:38 Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 8+ messages in thread

From: Alvaro Herrera @ 2018-10-08 13:38 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Silence compiler warning in Assert()

gcc 6.3 does not whine about this mistake I made in 39808e8868c8 but
evidently lots of other compilers do, according to Michael Paquier,
Peter Eisentraut, Arthur Zakirov, Tomas Vondra.

Discussion: too many to list

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/eee01d606eb40f760799320e75d45c84022353d8

Modified Files
--------------
src/backend/commands/event_trigger.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



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

* pgsql: Silence compiler warning in Assert()
@ 2018-10-08 13:38 Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 8+ messages in thread

From: Alvaro Herrera @ 2018-10-08 13:38 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Silence compiler warning in Assert()

gcc 6.3 does not whine about this mistake I made in 39808e8868c8 but
evidently lots of other compilers do, according to Michael Paquier,
Peter Eisentraut, Arthur Zakirov, Tomas Vondra.

Discussion: too many to list

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8569ef63f4d30d25f950270f62ca7263b56157a3

Modified Files
--------------
src/backend/commands/event_trigger.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



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

* pgsql: Silence compiler warning in Assert()
@ 2018-10-08 13:38 Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 8+ messages in thread

From: Alvaro Herrera @ 2018-10-08 13:38 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Silence compiler warning in Assert()

gcc 6.3 does not whine about this mistake I made in 39808e8868c8 but
evidently lots of other compilers do, according to Michael Paquier,
Peter Eisentraut, Arthur Zakirov, Tomas Vondra.

Discussion: too many to list

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/6b6b59b38e4407c7cc2ed860bfafc721fe24ec7e

Modified Files
--------------
src/backend/commands/event_trigger.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



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

* pgsql: Silence compiler warning in Assert()
@ 2018-10-08 13:38 Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 8+ messages in thread

From: Alvaro Herrera @ 2018-10-08 13:38 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Silence compiler warning in Assert()

gcc 6.3 does not whine about this mistake I made in 39808e8868c8 but
evidently lots of other compilers do, according to Michael Paquier,
Peter Eisentraut, Arthur Zakirov, Tomas Vondra.

Discussion: too many to list

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a653569c14c3a0b7f48a874a2770d58ce39e07d0

Modified Files
--------------
src/backend/commands/event_trigger.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



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

* pgsql: Silence compiler warning in Assert()
@ 2018-10-08 13:38 Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 8+ messages in thread

From: Alvaro Herrera @ 2018-10-08 13:38 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Silence compiler warning in Assert()

gcc 6.3 does not whine about this mistake I made in 39808e8868c8 but
evidently lots of other compilers do, according to Michael Paquier,
Peter Eisentraut, Arthur Zakirov, Tomas Vondra.

Discussion: too many to list

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/fd66ca083d460c2f759f99fb77b1fca7e1f3d682

Modified Files
--------------
src/backend/commands/event_trigger.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



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


end of thread, other threads:[~2018-10-08 13:38 UTC | newest]

Thread overview: 8+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-07-02 14:54 pgsql: Silence compiler warning in assertion-enabled builds. Heikki Linnakangas <heikki.linnakangas@iki.fi>
2013-07-02 14:54 pgsql: Silence compiler warning in assertion-enabled builds. Heikki Linnakangas <heikki.linnakangas@iki.fi>
2013-07-02 14:54 pgsql: Silence compiler warning in assertion-enabled builds. Heikki Linnakangas <heikki.linnakangas@iki.fi>
2018-10-08 13:38 pgsql: Silence compiler warning in Assert() Alvaro Herrera <alvherre@alvh.no-ip.org>
2018-10-08 13:38 pgsql: Silence compiler warning in Assert() Alvaro Herrera <alvherre@alvh.no-ip.org>
2018-10-08 13:38 pgsql: Silence compiler warning in Assert() Alvaro Herrera <alvherre@alvh.no-ip.org>
2018-10-08 13:38 pgsql: Silence compiler warning in Assert() Alvaro Herrera <alvherre@alvh.no-ip.org>
2018-10-08 13:38 pgsql: Silence compiler warning in Assert() 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