Skip to content

Commit cff6c94

Browse files
author
Nikita Glukhov
committed
Avoid double compilation of jsonfuncs.c
1 parent ba021c6 commit cff6c94

File tree

3 files changed

+469
-262
lines changed

3 files changed

+469
-262
lines changed

src/backend/utils/adt/json.c

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -35,34 +35,6 @@
3535
#define jsonb_object_two_arg json_object_two_arg
3636
#define jsonb_typeof json_typeof
3737

38-
#define jsonb_array_element json_array_element
39-
#define jsonb_array_element_text json_array_element_text
40-
#define jsonb_array_elements json_array_elements
41-
#define jsonb_array_elements_text json_array_elements_text
42-
#define jsonb_array_length json_array_length
43-
#define jsonb_canonical json_canonical
44-
#define jsonb_concat json_concat
45-
#define jsonb_delete json_delete
46-
#define jsonb_delete_idx json_delete_idx
47-
#define jsonb_delete_path json_delete_path
48-
#define jsonb_delete_array json_delete_array
49-
#define jsonb_each json_each
50-
#define jsonb_each_text json_each_text
51-
#define jsonb_insert json_insert
52-
#define jsonb_extract_path json_extract_path
53-
#define jsonb_extract_path_text json_extract_path_text
54-
#define jsonb_object_field json_object_field
55-
#define jsonb_object_field_text json_object_field_text
56-
#define jsonb_object_keys json_object_keys
57-
#define jsonb_extract_keys json_extract_keys
58-
#define jsonb_populate_record json_populate_record
59-
#define jsonb_populate_recordset json_populate_recordset
60-
#define jsonb_pretty json_pretty
61-
#define jsonb_set json_set
62-
#define jsonb_set_lax json_set_lax
63-
#define jsonb_to_record json_to_record
64-
#define jsonb_to_recordset json_to_recordset
65-
6638
#define JsonxContainerOps (&jsontContainerOps)
6739
#define JsonxGetUniquified(json) (json)
6840
#define JsonxPGetDatum(json) JsontPGetDatum(json)
@@ -289,7 +261,6 @@ escape_json(StringInfo buf, const char *str)
289261
}
290262

291263
#include "jsonb.c"
292-
#include "jsonfuncs.c"
293264

294265
/*
295266
* SQL function array_to_json(row)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy