Re: MERGE Specification - Mailing list pgsql-hackers

From Greg Smith
Subject Re: MERGE Specification
Date
Msg-id 4C6223B4.1050206@2ndquadrant.com
Whole thread Raw
In response to Re: MERGE Specification  (Boxuan Zhai <bxzhai2010@gmail.com>)
Responses Re: MERGE Specification
List pgsql-hackers
Boxuan Zhai wrote:
> I just found that no Assert() works in my codes. I think it is because 
> the assertion is no enabled. How to enable assertion. To define 
> USE_ASSERT_CHECKING somewhere?

When you run "configure" before "make", use "--enable-cassert".  The 
normal trio for working on the PostgreSQL code is:

./configure --enable-depend --enable-cassert --enable-debug

Generally the only reason to build as a developer without asserts on is 
to do performance testing.  They will slow some portions of the code 
down significantly.

-- 
Greg Smith  2ndQuadrant US  Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com   www.2ndQuadrant.us



pgsql-hackers by date:

Previous
From: Boxuan Zhai
Date:
Subject: Re: MERGE Specification
Next
From: Boxuan Zhai
Date:
Subject: Re: MERGE Specification