pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
libpqtypes - libpqtypes: Added PQparamExec and PQparamSendQuery to the
2+ messages / 2 participants
[nested] [flat]

* libpqtypes - libpqtypes: Added PQparamExec and PQparamSendQuery to the
@ 2009-06-27 01:25  User Achernow <achernow@pgfoundry.org>
  0 siblings, 0 replies; 2+ messages in thread

From: achernow@pgfoundry.org @ 2009-06-27 01:25 UTC (permalink / raw)
  To: pgsql-committers

Log Message:
-----------
Added PQparamExec and PQparamSendQuery to the list of supported prepared type spec functions

Modified Files:
--------------
    libpqtypes/docs/man3:
        PQspecPrepare.3 (r1.4 -> r1.5)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/libpqtypes/libpqtypes/docs/man3/PQspecPrepare.3?r1=1.4&a...)
    libpqtypes/src:
        exec.c (r1.17 -> r1.18)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/libpqtypes/libpqtypes/src/exec.c?r1=1.17&r2=1.18)




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

* pgsql: Fix description and grouping of RangeTblEntry.inh
@ 2024-03-07 11:22  Peter Eisentraut <peter@eisentraut.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2024-03-07 11:22 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix description and grouping of RangeTblEntry.inh

The inh field of RangeTblEntry was doubly confusingly documented.
Some parts of the code insisted that it was only valid for
RTE_RELATION entries, other parts said the field was valid for all
entries.  Neither was quite correct.  More correctly, the field is
valid for RTE_RELATION entries but is also used in the planner for
RTE_SUBQUERY entries.  So it makes more sense to group it with other
fields that are primarily for RTE_RELATION but borrowed by
RTE_SUBQUERY.  (The exact position was chosen so that it is next to
relkind for better struct packing, and next to relid, since relid and
inh are sort of the input fields and the others are filled in later.)
Also add documentation for the planner's use at the struct definition.

Discussion: https://www.postgresql.org/message-id/6c1fbccc-85c8-40d3-b08b-4f47f2093711@eisentraut.org

Branch
------
master

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

Modified Files
--------------
src/backend/nodes/outfuncs.c         |  3 ++-
src/backend/nodes/queryjumblefuncs.c |  2 +-
src/backend/nodes/readfuncs.c        |  3 ++-
src/backend/parser/parse_relation.c  | 11 ++---------
src/include/catalog/catversion.h     |  2 +-
src/include/nodes/parsenodes.h       | 13 ++++++++-----
6 files changed, 16 insertions(+), 18 deletions(-)



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


end of thread, other threads:[~2024-03-07 11:22 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-06-27 01:25 libpqtypes - libpqtypes: Added PQparamExec and PQparamSendQuery to the User Achernow <achernow@pgfoundry.org>
2024-03-07 11:22 pgsql: Fix description and grouping of RangeTblEntry.inh Peter Eisentraut <peter@eisentraut.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