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

Commit67ad9a1

Browse files
committed
define YY_NEVER_INTERACTIVE for flex, to persuade flex that it's not
necessary to call isatty() for each and every received query. That'sone less kernel call per query cycle ...
1 parentd45f7df commit67ad9a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/backend/parser/scan.l

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.68 2000/03/18 18:03:09 tgl Exp $
12+
* $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.69 2000/05/27 05:13:38 tgl Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -42,6 +42,7 @@ static char *parseCh;
4242
/* set up my input handler --- need one flavor for flex, one for lex*/
4343
#if defined(FLEX_SCANNER)
4444

45+
#defineYY_NEVER_INTERACTIVE1
4546
#defineYY_NO_UNPUT
4647
staticintmyinput(char* buf,int max);
4748
#undef YY_INPUT

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp