Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdc97a7b

Browse files
committed
Add various comments to explain #define's and add a few extra #define's
Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
1 parentf0bcb17 commitdc97a7b

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

‎src/include/config.h

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,10 +268,18 @@
268268
*/
269269
#defineDEADLOCK_TIMEOUT 60
270270

271+
/*
272+
* This flag enables the use of idexes in plans generated for function
273+
* executions which normally are always executed with sequential scans.
274+
*/
271275
#defineINDEXSCAN_PATCH
272276

273277
/* #define DATEDEBUG */
274278

279+
/*
280+
* Define this if you want to use date constants with a short year
281+
* like '01/05/96'.
282+
*/
275283
/* #define USE_SHORT_YEAR */
276284

277285
/*
@@ -304,6 +312,45 @@
304312
*/
305313
#definePQ_NOTIFY_PATCH
306314

315+
/*
316+
* Define this if you want to retrieve arrays attributes as Tcl lists instead
317+
* of postgres C-like arrays, for example {{"a1" "a2"} {"b1" "b2"}} instead
318+
* of {{"a1","a2"},{"b1","b2"}}.
319+
*/
320+
#defineTCL_ARRAY
321+
322+
/*
323+
* The comparison routines for text and char data type give incorrect results
324+
* if the input data contains characters greater than 127. As these routines
325+
* perform the comparison using signed char variables all character codes
326+
* greater than 127 are interpreted as less than 0. These codes are used to
327+
* encode the iso8859 char sets. Define this flag to correct the problem.
328+
*/
329+
#defineUNSIGNED_CHAR_TEXT
330+
331+
/*
332+
* The following flag allows limiting the number of rows returned by a query.
333+
* You will need the loadable module utils.c to use this feature.
334+
*/
335+
#defineQUERY_LIMIT
336+
337+
/*
338+
* The following flag allows copying tables from files with number of columns
339+
* different than the number of attributes setting missing attributes to NULL
340+
* and ignoring extra columns. This also avoids the shift of the attributes
341+
* of the rest of the file if one line has a wrong column count.
342+
*/
343+
#defineCOPY_PATCH
344+
345+
/*
346+
* User locks are handled totally on the application side as long term
347+
* cooperative locks which extend beyond the normal transaction boundaries.
348+
* Their purpose is to indicate to an application that someone is `working'
349+
* on an item. Define this flag to enable user locks. You will need the
350+
* loadable module user-locks.c to use this feature.
351+
*/
352+
#defineUSER_LOCKS
353+
307354
/* Debug #defines */
308355
/* #define IPORTAL_DEBUG */
309356
/* #define HEAPDEBUGALL */
@@ -313,6 +360,10 @@
313360
#define GISTDEBUG
314361
/* #define PURGEDEBUG */
315362
/* #define DEBUG_RECIPE */
363+
/* #define ASYNC_DEBUG */
364+
/* #define COPY_DEBUG */
365+
/* #define VACUUM_DEBUG */
366+
/* #define NBTINSERT_PATCH_DEBUG */
316367

317368

318369
/* The following don't have any apparent purpose, but are in the

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp