postgresql/src/backend/commands
Tom Lane a912a2784b Creator of a range type must have permission to call support functions.
Since range types can be created by non-superusers, we need to consider
their permissions.  Ideally we'd check this when the type is used, not
when it's created, but that seems like much more trouble than it's worth.
The existing restriction that the support functions be immutable already
prevents most cases where an unauthorized call to a function might be
thought a security issue, and the fact that the user has no access to
the results of the system's calls to subtype_diff closes off the other
plausible reason for concern.  So this check is basically pro-forma,
but let's make it anyway.
2011-11-23 12:45:49 -05:00
..
aggregatecmds.c Further consolidation of DROP statement handling. 2011-11-17 21:32:34 -05:00
alter.c Remove unnecessary #include references, per pgrminclude script. 2011-09-01 10:04:27 -04:00
analyze.c Measure the number of all-visible pages for use in index-only scan costing. 2011-10-14 17:23:46 -04:00
async.c Use callbacks in SlruScanDirectory for the actual action 2011-10-04 14:03:23 -03:00
cluster.c Measure the number of all-visible pages for use in index-only scan costing. 2011-10-14 17:23:46 -04:00
collationcmds.c Consolidate DROP handling for some object types. 2011-10-19 23:27:19 -04:00
comment.c Remove rel.h from objectaddress.h; only relcache.h is necessary. 2011-06-28 17:08:29 -04:00
constraint.c Move Trigger and TriggerDesc structs out of rel.h into a new reltrigger.h 2011-07-04 14:35:58 -04:00
conversioncmds.c Consolidate DROP handling for some object types. 2011-10-19 23:27:19 -04:00
copy.c Fix compiler warning. 2011-11-09 11:14:50 -05:00
dbcommands.c Comment changes to show bgwriter no longer performs checkpoints. 2011-11-01 18:48:47 +00:00
define.c Remove ancient downcasing code from procedural language operations. 2011-11-17 14:25:18 -05:00
discard.c Clean up the #include mess a little. 2011-09-04 01:13:16 -04:00
dropcmds.c Further consolidation of DROP statement handling. 2011-11-17 21:32:34 -05:00
explain.c Rearrange the implementation of index-only scans. 2011-10-11 14:21:30 -04:00
extension.c Consolidate DROP handling for some object types. 2011-10-19 23:27:19 -04:00
foreigncmds.c Further consolidation of DROP statement handling. 2011-11-17 21:32:34 -05:00
functioncmds.c Further consolidation of DROP statement handling. 2011-11-17 21:32:34 -05:00
indexcmds.c Clean up the #include mess a little. 2011-09-04 01:13:16 -04:00
lockcmds.c Try to acquire relation locks in RangeVarGetRelid. 2011-07-08 22:19:30 -04:00
Makefile Consolidate DROP handling for some object types. 2011-10-19 23:27:19 -04:00
opclasscmds.c Further consolidation of DROP statement handling. 2011-11-17 21:32:34 -05:00
operatorcmds.c Further consolidation of DROP statement handling. 2011-11-17 21:32:34 -05:00
portalcmds.c pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
prepare.c Redesign the plancache mechanism for more flexibility and efficiency. 2011-09-16 00:43:52 -04:00
proclang.c Further consolidation of DROP statement handling. 2011-11-17 21:32:34 -05:00
schemacmds.c Consolidate DROP handling for some object types. 2011-10-19 23:27:19 -04:00
seclabel.c Remove unnecessary #include references, per pgrminclude script. 2011-09-01 10:04:27 -04:00
sequence.c Clean up the #include mess a little. 2011-09-04 01:13:16 -04:00
tablecmds.c Change FK trigger naming convention to fix self-referential FKs. 2011-10-26 13:19:42 -04:00
tablespace.c Clean up the #include mess a little. 2011-09-04 01:13:16 -04:00
trigger.c Further consolidation of DROP statement handling. 2011-11-17 21:32:34 -05:00
tsearchcmds.c Consolidate DROP handling for some object types. 2011-10-19 23:27:19 -04:00
typecmds.c Creator of a range type must have permission to call support functions. 2011-11-23 12:45:49 -05:00
user.c Move Timestamp/Interval typedefs and basic macros into datatype/timestamp.h. 2011-09-09 13:23:41 -04:00
vacuum.c Measure the number of all-visible pages for use in index-only scan costing. 2011-10-14 17:23:46 -04:00
vacuumlazy.c Rewrite comment for slightly greater accuracy. 2011-11-08 08:11:25 -05:00
variable.c Simplify handling of the timezone GUC by making initdb choose the default. 2011-09-09 17:59:11 -04:00
view.c Fix bugs in relpersistence handling during table creation. 2011-07-03 17:34:47 -04:00