]> granicus.if.org Git - postgresql/blobdiff - src/backend/libpq/be-fsstubs.c
Add macros to make AllocSetContextCreate() calls simpler and safer.
[postgresql] / src / backend / libpq / be-fsstubs.c
index b64ef8b5c4c2139c5b3d0bbba323ff3108f73048..764f602aaa23f53b0e833f5cc33823c3e2e19f9b 100644 (file)
@@ -79,9 +79,7 @@ static MemoryContext fscxt = NULL;
                if (fscxt == NULL) \
                        fscxt = AllocSetContextCreate(TopMemoryContext, \
                                                                                  "Filesystem", \
-                                                                                 ALLOCSET_DEFAULT_MINSIZE, \
-                                                                                 ALLOCSET_DEFAULT_INITSIZE, \
-                                                                                 ALLOCSET_DEFAULT_MAXSIZE); \
+                                                                                 ALLOCSET_DEFAULT_SIZES); \
        } while (0)