mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
1 fix various comparing functions
2 implement gtsvector_out for use with gevel module (debug GiST indexes, http://www.sai.msu.su/~megera/postgres/gist/gevel/)
This commit is contained in:
@ -186,7 +186,9 @@ reset_cfg(void)
|
||||
static int
|
||||
comparecfg(const void *a, const void *b)
|
||||
{
|
||||
return ((TSCfgInfo *) a)->id - ((TSCfgInfo *) b)->id;
|
||||
if ( ((TSCfgInfo *) a)->id == ((TSCfgInfo *) b)->id )
|
||||
return 0;
|
||||
return ( ((TSCfgInfo *) a)->id < ((TSCfgInfo *) b)->id ) ? -1 : 1;
|
||||
}
|
||||
|
||||
TSCfgInfo *
|
||||
|
Reference in New Issue
Block a user