Skip to content

Commit 00cecbf

Browse files
Updates
1 parent 78d0b42 commit 00cecbf

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

readme.md

+19-19
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The purpose of the codes in this repository is to provide a set of code examples
4343

4444
<br>
4545

46-
Para instalar o PostgreSQL no Linux (distribuições baseadas em Debian/Ubuntu), você pode executar os comandos abaixo.
46+
To install PostgreSQL on Linux (Debian/Ubuntu based distributions) you can run the commands below.
4747

4848
```bash
4949
sudo apt install postgresql postgresql-contrib
@@ -52,57 +52,57 @@ sudo apt install libpq-dev
5252

5353
<br>
5454

55-
Conectar no servidor:
55+
Connect to server:
5656
```bash
5757
sudo -u postgres psql
5858
```
5959

6060
<br>
6161

62-
Ao acessar o servidor, você pode utilizar estes comandos abaixo para gerenciá-lo.
62+
When accessing the server, you can use these commands below to manage it.
6363

6464
```
65-
\l Lista os bancos de dados.
66-
\c DB_NAME Conecta em um banco de dados existente.
67-
\dt Lista as tabelas existentes.
68-
\q Sair do servidor.
65+
\l Lists the databases.
66+
\c DB_NAME Connects to an existing database.
67+
\dt Lists existing tables.
68+
\q Log out of the server.
6969
```
7070

7171
<br>
7272

7373
:clipboard: Description of files
7474
---
7575

76-
De uso geral:
76+
General use:
7777

78-
- <b>build.sh</b>: Gera executáveis (compila).
79-
- <b>settings.h</b>: Header contendo as configurações do servidor PostgreSQL.
78+
- <b>build.sh</b>: Generate executables (compile).
79+
- <b>settings.h</b>: Header containing PostgreSQL server settings.
8080

8181
<br>
8282

83-
Códigos:
83+
Codes:
8484

85-
- <b>1 - connect.c</b>: Realiza a conexão com o servidor.
86-
- <b>2 - create table.c</b>: Cria e exclui uma tabela no banco de dados.
87-
- <b>3 - insert item.c</b>: Insere registros em uma tabela.
88-
- <b>4 - select all.c</b>: Seleciona os registros de uma tabela.
89-
- <b>5 - delete.c</b>: Exclui registros.
90-
- <b>6 - update.c</b>: Atualiza registros.
85+
- <b>1 - connect.c</b>: Makes the connection to the server.
86+
- <b>2 - create table.c</b>: Creates and deletes a table in the database.
87+
- <b>3 - insert item.c</b>: Insert records into a table.
88+
- <b>4 - select all.c</b>: Selects records from a table.
89+
- <b>5 - delete.c</b>: Delete records.
90+
- <b>6 - update.c</b>: Update records.
9191

9292
<br>
9393

9494
:hammer: Compiling the codes
9595
---
9696

97-
Para compilar os códigos, basta executar o script <b>build.sh</b>, especificando em seus parâmetros o nome do arquivo que você deseja compilar, como no exemplo abaixo.
97+
To compile the codes, just run the <b>build.sh</b> script, specifying in its parameters the name of the file you want to compile, as in the example below.
9898

9999
```bash
100100
./build.sh "1 - connect.c"
101101
```
102102

103103
<br>
104104

105-
O arquivo compilado sempre fica salvo com o nome <b>app-test</b>, logo, basta executá-lo para realizar os testes.
105+
The compiled file is always saved with the name <b>app-test</b>, so just run it to run the tests.
106106

107107
```bash
108108
./app-test

0 commit comments

Comments
 (0)