]> granicus.if.org Git - postgresql/commitdiff
MIN() -> Min, fixes compile problem.
authorBruce Momjian <bruce@momjian.us>
Thu, 20 Dec 2001 02:39:26 +0000 (02:39 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 20 Dec 2001 02:39:26 +0000 (02:39 +0000)
src/backend/nodes/print.c

index 3e362988d9a697e569e315d14edd62a9e1798d75..0d929941020b00c5fad25d3e7a7e773009708c3b 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/nodes/print.c,v 1.50 2001/12/19 22:35:35 tgl Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/nodes/print.c,v 1.51 2001/12/20 02:39:26 momjian Exp $
  *
  * HISTORY
  *       AUTHOR                        DATE                    MAJOR EVENT
@@ -88,7 +88,7 @@ pprint(void *obj)
                                        if (indentLev > 0)
                                        {
                                                indentLev--;
-                                               indentDist = MIN(indentLev * INDENTSTOP, MAXINDENT);
+                                               indentDist = Min(indentLev * INDENTSTOP, MAXINDENT);
                                        }
                                        j = indentDist - 1;
                                        /* j will equal indentDist on next loop iteration */
@@ -108,7 +108,7 @@ pprint(void *obj)
                                        }
                                        /* indent */
                                        indentLev++;
-                                       indentDist = MIN(indentLev * INDENTSTOP, MAXINDENT);
+                                       indentDist = Min(indentLev * INDENTSTOP, MAXINDENT);
                                        for (j = 0; j < indentDist; j++)
                                                line[j] = ' ';
                                        line[j] = s[i];