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

Commitadc507f

Browse files
committed
Fix some bogus code in ConstBit production --- it managed to work, but
only because 14627 still contained the same node that BitWithoutLength hadjust produced. Make it more transparent. Also adjust ConstCharacterto be coded the same way for consistency.
1 parentb3d36a2 commitadc507f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/backend/parser/gram.y

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.463 2004/06/25 21:55:55 tgl Exp $
14+
* $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.464 2004/06/28 00:18:47 tgl Exp $
1515
*
1616
* HISTORY
1717
* AUTHORDATEMAJOR EVENT
@@ -5617,8 +5617,8 @@ ConstBit:BitWithLength
56175617
}
56185618
| BitWithoutLength
56195619
{
5620-
$$->typmod = -1;
56215620
$$ = $1;
5621+
$$->typmod = -1;
56225622
}
56235623
;
56245624

@@ -5687,8 +5687,8 @@ ConstCharacter: CharacterWithLength
56875687
* of one, but should not be constrained if the length
56885688
* was not specified.
56895689
*/
5690-
$1->typmod = -1;
56915690
$$ = $1;
5691+
$$->typmod = -1;
56925692
}
56935693
;
56945694

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp