diff options
author | Robert Haas <rhaas@postgresql.org> | 2016-03-14 13:48:35 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2016-03-14 13:52:52 -0400 |
commit | 3adf9ced17dfa84faa209127b4499e5a5b995806 (patch) | |
tree | d52c7ea0bf14844e5ac9ef601ec254f0f2446b43 /contrib/postgres_fdw/postgres_fdw.c | |
parent | 2da75499879032d8d2f233ca42cc2efe48fd76ef (diff) | |
download | postgresql-3adf9ced17dfa84faa209127b4499e5a5b995806.tar.gz postgresql-3adf9ced17dfa84faa209127b4499e5a5b995806.zip |
Improve check for overly-long extensible node name.
The old code is bad for two reasons. First, it has an off-by-one
error. Second, it won't help if you aren't running with assertions
enabled. Per discussion, we want a check here in that case too.
Author: KaiGai Kohei, adjusted by me.
Reviewed-by: Petr Jelinek
Discussion: 56E0D547.1030101@2ndquadrant.com
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions