From c93ff49861572a28a9253f09c5b793082b1b3948 Mon Sep 17 00:00:00 2001 From: Yorick de Wid Date: Sat, 24 Oct 2020 23:47:01 +0200 Subject: [PATCH] Update README.md --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a0d7a71..87e6592 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,9 @@ CREATE TABLE test_iban ( account iban ) +-- -- Insert data +-- -- Dutch IBAN format INSERT INTO test_iban (name, account) VALUES ('John', 'NL91ABNA0417164300'); @@ -21,7 +23,10 @@ INSERT INTO test_iban (name, account) VALUES ('Doe', 'DE89370400440532013000'); -- Invalid data INSERT INTO test_iban (name, account) VALUES ('Dean', 'AZ22NABZ00000000137010001944'); +-- -- Show output +-- + SELECT * FROM test_iban; ``` @@ -42,7 +47,7 @@ SELECT 'KZ86125KZT5004100100'::iban::text; Make sure PostgreSQL development tools are installed (check `pg_config`) -``` +```bash git clone https://github.com/yorickdewid/PostgreSQL-IBAN cd PostgreSQL-IBAN make install @@ -50,6 +55,6 @@ make install Login to the database and load the extension -``` +```sql CREATE EXTENSION iban; ```