pgsql: Adjust more backend functions to return OID rather than void. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Adjust more backend functions to return OID rather than void.
Date
Msg-id E1Tow9s-0006iz-AC@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Adjust more backend functions to return OID rather than void.

This is again intended to support extensions to the event trigger
functionality.  This may go a bit further than we need for that
purpose, but there's some value in being consistent, and the OID
may be useful for other purposes also.

Dimitri Fontaine

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/82b1b213cad3a69cf5f3dfaa81687c14366960fc

Modified Files
--------------
src/backend/commands/comment.c       |    6 +++-
src/backend/commands/copy.c          |   14 +++++++-----
src/backend/commands/dbcommands.c    |   17 ++++++++++++---
src/backend/commands/event_trigger.c |   24 ++++++++++++++-------
src/backend/commands/extension.c     |   10 ++++++--
src/backend/commands/foreigncmds.c   |   34 ++++++++++++++++++++++---------
src/backend/commands/functioncmds.c  |    8 +++++-
src/backend/commands/indexcmds.c     |   12 ++++++++--
src/backend/commands/opclasscmds.c   |   12 +++++++---
src/backend/commands/proclang.c      |   24 ++++++++++++----------
src/backend/commands/seclabel.c      |    4 ++-
src/backend/commands/tablespace.c    |   11 ++++++++-
src/backend/commands/tsearchcmds.c   |   11 ++++++++-
src/backend/commands/typecmds.c      |   34 +++++++++++++++++++++++--------
src/backend/commands/user.c          |   15 +++++++++++--
src/backend/rewrite/rewriteDefine.c  |   37 ++++++++++++++++++---------------
src/backend/tcop/utility.c           |    2 +-
src/include/commands/comment.h       |    2 +-
src/include/commands/copy.h          |    3 +-
src/include/commands/dbcommands.h    |    6 ++--
src/include/commands/defrem.h        |   34 +++++++++++++++---------------
src/include/commands/event_trigger.h |    4 +-
src/include/commands/extension.h     |    4 +-
src/include/commands/proclang.h      |    2 +-
src/include/commands/seclabel.h      |    2 +-
src/include/commands/tablespace.h    |    4 +-
src/include/commands/typecmds.h      |   16 +++++++-------
src/include/commands/user.h          |    6 ++--
src/include/rewrite/rewriteDefine.h  |    4 +-
29 files changed, 231 insertions(+), 131 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Remove obsolete XLogRecPtr macros
Next
From: Peter Eisentraut
Date:
Subject: pgsql: doc: Correct description of LDAP authentication