Exectuer des commandes psql sous MSDOS
Bonjour,
En utilisant MSDOS sous windows, j'ai utilisé la commande suivante pour se connecter à postgres :
Code:
psql -U postgres -p 5432 -h ma_machine
j'ai eu ça :
Code:
1 2 3 4 5 6 7 8 9 10 11 12
| Welcome to psql 8.2.4, the PostgreSQL interactive terminal.
Type: \copyright for distribution terms
\h for help with SQL commands
\? for help with psql commands
\g or terminate with semicolon to execute query
\q to quit
Warning: Console code page (850) differs from Windows code page (1252)
8-bit characters may not work correctly. See psql reference
page "Notes for Windows users" for details.
postgres=# |
j'essaie d'exectuer une simple requête sql, comme celle-ci :
Code:
1 2
| postgres=# select * from test_v
postgres-# \g |
mais ça renvoie :
Citation:
ERROR: relation "test_v" does not exist
alors que la table(ou plutôt la vue) test_v existe bien sur ma base de données.
Une idée svp?