Commits

Andrew Dunstan committed 39d2440

Remove unnecessary PG_FUNCTION_INFO_V1 decls.

These were the result of over-enthusiastic copy and paste
and the fact some of this started as an extension.

Comments (0)

Files changed (1)

src/backend/utils/adt/jsonfuncs.c

  * be so huge that it has major memory implications.
  */
 
-PG_FUNCTION_INFO_V1(json_object_keys);
-
 Datum
 json_object_keys(PG_FUNCTION_ARGS)
 {
  *
  * also used for json -> text operator
  */
-PG_FUNCTION_INFO_V1(json_get_ofield);
-
 Datum
 json_get_ofield(PG_FUNCTION_ARGS)
 {
  *
  * also used for json ->> text operator
  */
-
-PG_FUNCTION_INFO_V1(json_get_ofield_as_text);
-
 Datum
 json_get_ofield_as_text(PG_FUNCTION_ARGS)
 {
  *
  * also used for json -> int operator
  */
-
-PG_FUNCTION_INFO_V1(json_get_aelem);
-
 Datum
 json_get_aelem(PG_FUNCTION_ARGS)
 {
  *
  * also used for json ->> int operator
  */
-
-PG_FUNCTION_INFO_V1(json_get_aelem_as_text);
-
 Datum
 json_get_aelem_as_text(PG_FUNCTION_ARGS)
 {
  * that maps to this function and is used in the construction of the
  * json -> text[] operator.
  */
-
-PG_FUNCTION_INFO_V1(json_get_path);
-
 Datum
 json_get_path(PG_FUNCTION_ARGS)
 {
  * that maps to this function and is used in the construction of the
  * json ->> text[] operator.
  */
-
-PG_FUNCTION_INFO_V1(json_get_path_as_text);
-
 Datum
 json_get_path_as_text(PG_FUNCTION_ARGS)
 {
 /*
  * SQL function json_array_length(json) -> int
  */
-
-PG_FUNCTION_INFO_V1(json_array_length);
-
 Datum
 json_array_length(PG_FUNCTION_ARGS)
 {
  * The constriction of tuples is done using a temporary memory context
  * that is cleared out after each tuple is built.
  */
-
-PG_FUNCTION_INFO_V1(json_each);
-
 Datum
 json_each(PG_FUNCTION_ARGS)
 {
  *
  * See also comments for json_each
  */
-
-PG_FUNCTION_INFO_V1(json_each_as_text);
-
 Datum
 json_each_as_text(PG_FUNCTION_ARGS)
 {
  *
  * a lot of this processing is similar to the json_each* functions
  */
-
-PG_FUNCTION_INFO_V1(json_unnest);
-
 Datum
 json_unnest(PG_FUNCTION_ARGS)
 {
  * The json is decomposed into a hash table, in which each
  * field in the record is then looked up by name.
  */
-
-PG_FUNCTION_INFO_V1(json_populate_record);
-
 Datum
 json_populate_record(PG_FUNCTION_ARGS)
 {
  * is pushed down into the semantic action handlers so it's done
  * per object in the array.
  */
-
-PG_FUNCTION_INFO_V1(json_populate_recordset);
-
 Datum
 json_populate_recordset(PG_FUNCTION_ARGS)
 {