PostgreSQL 8.1.11 Documentationwas passed an AggState node as the function call “context”, for example by if (fcinfo->context && IsA(fcinfo->context, AggState)) One reason for checking this is that when it is true, the left input must by executing the macro CALLED_AS_TRIGGER(fcinfo) which expands to ((fcinfo)-> context != NULL && IsA((fcinfo)-> context, TriggerData)) If this returns true, then it is safe to cast fcinfo-> context to0 码力 | 1582 页 | 12.19 MB | 1 年前3
PostgreSQL 8.1 Documentationwas passed an AggState node as the function call “context”, for example by if (fcinfo->context && IsA(fcinfo->context, AggState)) One reason for checking this is that when it is true, the left input must by executing the macro CALLED_AS_TRIGGER(fcinfo) which expands to ((fcinfo)-> context != NULL && IsA((fcinfo)-> context, TriggerData)) If this returns true, then it is safe to cast fcinfo-> context to0 码力 | 1548 页 | 11.54 MB | 1 年前3
PostgreSQL 8.4 DocumentationWindowAggState node as the function call “context”, for example by: if (fcinfo->context && (IsA(fcinfo->context, AggState) || IsA(fcinfo->context, WindowAggState))) One reason for checking this is that when it is executing the macro: CALLED_AS_TRIGGER(fcinfo) which expands to: ((fcinfo)->context != NULL && IsA((fcinfo)->context, TriggerData)) If this returns true, then it is safe to cast fcinfo->context to0 码力 | 2224 页 | 5.05 MB | 1 年前3
PostgreSQL 8.4 DocumentationWindowAggState node as the function call “context”, for example by: if (fcinfo->context && (IsA(fcinfo->context, AggState) || IsA(fcinfo->context, WindowAggState))) One reason for checking this is that when it is executing the macro: CALLED_AS_TRIGGER(fcinfo) which expands to: ((fcinfo)->context != NULL && IsA((fcinfo)->context, TriggerData)) If this returns true, then it is safe to cast fcinfo->context to0 码力 | 2371 页 | 5.09 MB | 1 年前3
PostgreSQL 8.2 Documentationwas passed an AggState node as the function call “context”, for example by if (fcinfo->context && IsA(fcinfo->context, AggState)) One reason for checking this is that when it is true, the first input by executing the macro CALLED_AS_TRIGGER(fcinfo) which expands to ((fcinfo)-> context != NULL && IsA((fcinfo)-> context, TriggerData)) If this returns true, then it is safe to cast fcinfo-> context to0 码力 | 1762 页 | 5.43 MB | 1 年前3
PostgreSQL 8.2 Documentationwas passed an AggState node as the function call “context”, for example by if (fcinfo->context && IsA(fcinfo->context, AggState)) One reason for checking this is that when it is true, the first input by executing the macro CALLED_AS_TRIGGER(fcinfo) which expands to ((fcinfo)-> context != NULL && IsA((fcinfo)-> context, TriggerData)) If this returns true, then it is safe to cast fcinfo-> context to0 码力 | 1748 页 | 13.12 MB | 1 年前3
PostgreSQL 8.3 Documentationthe function call “context”, for example by: 708 Chapter 34. Extending SQL if (fcinfo->context && IsA(fcinfo->context, AggState)) One reason for checking this is that when it is true, the first input executing the macro: CALLED_AS_TRIGGER(fcinfo) which expands to: ((fcinfo)->context != NULL && IsA((fcinfo)->context, TriggerData)) If this returns true, then it is safe to cast fcinfo->context to0 码力 | 2143 页 | 4.58 MB | 1 年前3
PostgreSQL 8.3 Documentationwas passed an AggState node as the function call “context”, for example by: if (fcinfo->context && IsA(fcinfo->context, AggState)) One reason for checking this is that when it is true, the first input executing the macro: CALLED_AS_TRIGGER(fcinfo) which expands to: ((fcinfo)->context != NULL && IsA((fcinfo)->context, TriggerData)) If this returns true, then it is safe to cast fcinfo->context to0 码力 | 2015 页 | 4.54 MB | 1 年前3
PostgreSQL 9.4 Documentationexecuting the macro: CALLED_AS_TRIGGER(fcinfo) which expands to: ((fcinfo)->context != NULL && IsA((fcinfo)->context, TriggerData)) If this returns true, then it is safe to cast fcinfo->context to executing the macro: CALLED_AS_EVENT_TRIGGER(fcinfo) which expands to: ((fcinfo)->context != NULL && IsA((fcinfo)->context, EventTriggerData)) If this returns true, then it is safe to cast fcinfo->context0 码力 | 2603 页 | 6.05 MB | 1 年前3
PostgreSQL 9.4.26 Documentation
executing the macro: CALLED_AS_TRIGGER(fcinfo) which expands to: ((fcinfo)->context != NULL && IsA((fcinfo)->context, TriggerData)) If this returns true, then it is safe to cast fcinfo->context to executing the macro: CALLED_AS_EVENT_TRIGGER(fcinfo) which expands to: ((fcinfo)->context != NULL && IsA((fcinfo)->context, EventTriggerData)) If this returns true, then it is safe to cast fcinfo->context0 码力 | 2452 页 | 5.99 MB | 1 年前3
共 40 条
- 1
- 2
- 3
- 4













