Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Florents-Tselai authored Sep 23, 2024
1 parent cfca484 commit ab92201
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,30 @@ select pdf_read_bytes(pg_read_binary_file('/tmp/pgintro.pdf'));
 PostgreSQL Origin +
```

You can now do whatever you want,
for example full-text search is easy:

```tsql
select pdf_read_file('/tmp/pgintro.pdf') @@ to_tsquery('postgres');
```tsql
?column?
----------
t
(1 row)
```

```tsql
select pdf_read_file('/tmp/pgintro.pdf') @@ to_tsquery('oracle');
```

```tsql
?column?
----------
f
(1 row)
```

## Installation

**Prerequisites**
Expand Down

0 comments on commit ab92201

Please sign in to comment.