1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-14 18:42:34 +03:00

This patch makes some minor style cleanups to contrib/btree_gist: remove

the "extern" keyword from function definitions, reorganize some
PG_GETARG_XXX() usage, and similar.
This commit is contained in:
Neil Conway
2005-05-12 00:39:37 +00:00
parent 34b788d674
commit 8d6e9bca37
7 changed files with 23 additions and 24 deletions

View File

@ -98,7 +98,7 @@ gbt_numeric_consistent(PG_FUNCTION_ARGS)
GISTENTRY *entry = (GISTENTRY *) PG_GETARG_POINTER(0);
GBT_VARKEY *key = (GBT_VARKEY *) DatumGetPointer(entry->key);
void *qtst = (void *) DatumGetPointer(PG_GETARG_DATUM(1));
void *qtst = (void *) PG_GETARG_POINTER(1);
void *query = (void *) DatumGetNumeric(PG_GETARG_DATUM(1));
StrategyNumber strategy = (StrategyNumber) PG_GETARG_UINT16(2);
bool retval = FALSE;