]> granicus.if.org Git - postgresql/commitdiff
Use MAXALIGN value found by configure instead of a
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 4 Apr 1999 20:10:12 +0000 (20:10 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 4 Apr 1999 20:10:12 +0000 (20:10 +0000)
hardwired assumption.

src/interfaces/libpq/fe-exec.c

index 5bd9002cedf05611c99b478a7c66b29f8389d31b..7a7a9076fe0844bdbe3f16a1be3352c9c85efcc1 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.77 1999/03/14 18:12:21 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.78 1999/04/04 20:10:12 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -106,7 +106,7 @@ static int  getNotice(PGconn *conn);
  */
 
 #define PGRESULT_DATA_BLOCKSIZE                2048
-#define PGRESULT_ALIGN_BOUNDARY                16       /* 8 is probably enough, really */
+#define PGRESULT_ALIGN_BOUNDARY                MAXIMUM_ALIGNOF /* from configure */
 #define PGRESULT_SEP_ALLOC_THRESHOLD   (PGRESULT_DATA_BLOCKSIZE / 2)