aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>1999-04-04 20:10:12 +0000
committerTom Lane <tgl@sss.pgh.pa.us>1999-04-04 20:10:12 +0000
commit2de404e173f3740fa47f4567994ad30639923810 (patch)
treeff4a51bfaa50031e075cc31d313945182d5d2e1e /src/interfaces
parenta253dcdb239963bb5a621c9fcfc486457019aeea (diff)
downloadpostgresql-2de404e173f3740fa47f4567994ad30639923810.tar.gz
postgresql-2de404e173f3740fa47f4567994ad30639923810.zip
Use MAXALIGN value found by configure instead of a
hardwired assumption.
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/libpq/fe-exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpq/fe-exec.c b/src/interfaces/libpq/fe-exec.c
index 5bd9002cedf..7a7a9076fe0 100644
--- a/src/interfaces/libpq/fe-exec.c
+++ b/src/interfaces/libpq/fe-exec.c
@@ -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)