Skip to content

Commit 0bdfc81

Browse files
committed
More readme fixes
1 parent 66259ea commit 0bdfc81

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Starting on Postgres version 11.1, AWS RDS added [support](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PostgreSQL.S3Import.html#USER_PostgreSQL.S3Import.FileFormats) for S3 import.
44
It allows to import data from S3 within Postgres using the function `aws_s3.table_import_from_s3`.
55

6-
In order to support development either on RDS or locally, we implemented our own aws_s3 extension that will be similar to
6+
In order to support development either on RDS or locally, we implemented our own `aws_s3` extension that is similar to
77
the one provided in RDS. It was implemented in Python using the boto3 library.
88

99
## Installation
@@ -12,7 +12,8 @@ On MacOS, this can be done as follows:
1212

1313
sudo /usr/bin/easy_install boto3
1414

15-
Then install the extension:
15+
Then clone the repository `aws_s3``:
16+
1617
git clone git@github.com:chimpler/aws_s3
1718

1819
Make sure that `pg_config` can be run:
@@ -29,11 +30,11 @@ LIBDIR = /Applications/Postgres.app/Contents/Versions/11/lib
2930
...
3031
```
3132

32-
Then install aws_s3:
33+
Then install `aws_s3`:
3334

3435
make install
3536

36-
Then in Postgres:
37+
Finally in Postgres:
3738
```postgresql
3839
psql> CREATE EXTENSION plpythonu;
3940
psql> CREATE EXTENSION aws_s3;
@@ -72,7 +73,7 @@ aws_s3.table_import_from_s3 (
7273
)
7374
```
7475

75-
Using this signature, the s3_uri and aws_credentials objects will need to be created first:
76+
Using this signature, the `s3_uri` and `aws_credentials` objects will need to be created first:
7677

7778
Parameter | Description
7879
----------|------------
@@ -115,7 +116,8 @@ psql> SELECT aws_s3.table_import_from_s3(
115116
4
116117
(1 row)
117118
118-
psql> select * from animals; name | age
119+
psql> select * from animals;
120+
name | age
119121
----------+-----
120122
dog | 12
121123
cat | 15
@@ -172,7 +174,7 @@ psql> SELECT aws_s3.table_import_from_s3(
172174
173175
psql> select * from animals;
174176
175-
name | age
177+
name | age
176178
----------+-----
177179
dog | 12
178180
cat | 15

0 commit comments

Comments
 (0)