Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
ad3db67e
Commit
ad3db67e
authored
Mar 06, 2000
by
Tatsuo Ishii
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add SQL_ASCII encoding test case
parent
3526017a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
src/test/regress/sql/sql_ascii.sql
src/test/regress/sql/sql_ascii.sql
+19
-0
No files found.
src/test/regress/sql/sql_ascii.sql
0 → 100644
View file @
ad3db67e
drop
table
computer_terms
;
create
table
computer_terms
(
term
text
,
category
text
,
comments
char
(
16
));
create
index
computer_terms_index1
on
computer_terms
using
btree
(
term
);
create
index
computer_terms_index2
on
computer_terms
using
btree
(
category
);
insert
into
computer_terms
values
(
'computer display'
,
'X-A01-Y'
,
'a comment 1'
);
insert
into
computer_terms
values
(
'computer graphics'
,
'T-B01-Y'
,
'a comment 2'
);
insert
into
computer_terms
values
(
'computer programmer'
,
'S-Z01-Y'
,
'a comment 3'
);
vacuum
computer_terms
;
select
*
from
computer_terms
;
select
*
from
computer_terms
where
category
=
'X-A01-Y'
;
select
*
from
computer_terms
where
category
~*
'x-a01-y'
;
select
*
from
computer_terms
where
category
like
'_-A01-_'
;
select
*
from
computer_terms
where
category
like
'_-A%'
;
select
*
from
computer_terms
where
term
~
'computer [dg]'
;
select
*
from
computer_terms
where
term
~*
'computer [DG]'
;
select
*
,
character_length
(
term
)
from
computer_terms
;
select
*
,
octet_length
(
term
)
from
computer_terms
;
select
*
,
position
(
's'
in
term
)
from
computer_terms
;
select
*
,
substring
(
term
from
10
for
4
)
from
computer_terms
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment