Re: how to get rid of "NOTICE"'s in psql?
От | Carl Shelbourne |
---|---|
Тема | Re: how to get rid of "NOTICE"'s in psql? |
Дата | |
Msg-id | 80256989.00496E96.00@marconicomms.com обсуждение исходный текст |
Ответ на | how to get rid of "NOTICE"'s in psql? (hubert depesz lubaczewski <depesz@depesz.pl>) |
Ответы |
Re: how to get rid of "NOTICE"'s in psql?
|
Список | pgsql-interfaces |
You could remove unwanted messages using: psql -q ....etc... 2>/dev/null Carl hubert depesz lubaczewski <depesz@depesz.pl> on 30/10/2000 10:53:15 Please respond to depesz@depesz.pl To: pgsql-interfaces@postgresql.org cc: (bcc: Carl Shelbourne/MAIN/MC1) Subject: [INTERFACES] how to get rid of "NOTICE"'s in psql? hi, i'm using psql while developing software. i have several .sql scripts which i run via \i script.sql most of them spill out a lot of "NOTICE" lines. like: psql:create.structure.sql:17: NOTICE: CREATE TABLE/PRIMARY KEY will create implicit index 'articles_pkey' for table 'articles' CREATE psql:create.structure.sql:23: NOTICE: CREATE TABLE/PRIMARY KEY will create implicit index 'kolejnosc_pkey' for table 'kolejnosc' psql:create.structure.sql:23: NOTICE: CREATE TABLE will create implicit trigger(s) for FOREIGN KEY check(s) CREATE i want to make psql *not* show any NOTICES - just plain information like "CREATE", "INSERT", "COMMIT" and of course ERROR messages. is there any way (besides recompiling psql with simple "if") to do what i need? depesz -- hubert depesz lubaczewski ------------------------------------------------------------------------ najwspanialszą rzeczą jaką dało nam nowoczesne społeczeństwo, jest niesamowita wręcz łatwość unikania kontaktów z nim ...
В списке pgsql-interfaces по дате отправления: