mirror of https://github.com/citusdata/citus.git
Address review use int instead of int16 and int32
parent
06727b60e7
commit
cd765672cc
|
@ -70,7 +70,7 @@ RangeVarCallbackOwnsTable(const RangeVar *relation,
|
||||||
#include "catalog/pg_attribute.h"
|
#include "catalog/pg_attribute.h"
|
||||||
#include "utils/syscache.h"
|
#include "utils/syscache.h"
|
||||||
|
|
||||||
static inline int32
|
static inline int
|
||||||
getAttstattarget_compat(HeapTuple attTuple)
|
getAttstattarget_compat(HeapTuple attTuple)
|
||||||
{
|
{
|
||||||
bool isnull;
|
bool isnull;
|
||||||
|
@ -82,7 +82,7 @@ getAttstattarget_compat(HeapTuple attTuple)
|
||||||
|
|
||||||
#include "catalog/pg_statistic_ext.h"
|
#include "catalog/pg_statistic_ext.h"
|
||||||
|
|
||||||
static inline int16
|
static inline int
|
||||||
getStxstattarget_compat(HeapTuple tup)
|
getStxstattarget_compat(HeapTuple tup)
|
||||||
{
|
{
|
||||||
bool isnull;
|
bool isnull;
|
||||||
|
@ -113,7 +113,7 @@ getStxstattarget_compat(HeapTuple tup)
|
||||||
#define Anum_pg_collation_colllocale Anum_pg_collation_colliculocale
|
#define Anum_pg_collation_colllocale Anum_pg_collation_colliculocale
|
||||||
|
|
||||||
#include "access/htup_details.h"
|
#include "access/htup_details.h"
|
||||||
static inline int32
|
static inline int
|
||||||
getAttstattarget_compat(HeapTuple attTuple)
|
getAttstattarget_compat(HeapTuple attTuple)
|
||||||
{
|
{
|
||||||
return ((Form_pg_attribute) GETSTRUCT(attTuple))->attstattarget;
|
return ((Form_pg_attribute) GETSTRUCT(attTuple))->attstattarget;
|
||||||
|
@ -121,7 +121,7 @@ getAttstattarget_compat(HeapTuple attTuple)
|
||||||
|
|
||||||
|
|
||||||
#include "catalog/pg_statistic_ext.h"
|
#include "catalog/pg_statistic_ext.h"
|
||||||
static inline int32
|
static inline int
|
||||||
getStxstattarget_compat(HeapTuple tup)
|
getStxstattarget_compat(HeapTuple tup)
|
||||||
{
|
{
|
||||||
return ((Form_pg_statistic_ext) GETSTRUCT(tup))->stxstattarget;
|
return ((Form_pg_statistic_ext) GETSTRUCT(tup))->stxstattarget;
|
||||||
|
|
Loading…
Reference in New Issue