gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] psql upgrade


From: Sebastian Hilbert
Subject: Re: [Gnumed-devel] psql upgrade
Date: Mon, 25 Nov 2013 09:30:53 +0100
User-agent: KMail/4.11.2 (Linux/3.11.0-14-generic; KDE/4.11.2; i686; ; )

Am Sonntag, 24. November 2013, 22:08:19 schrieb Karsten Hilbert:
> On Sun, Nov 24, 2013 at 02:13:09PM +0530, Vaibhav Banait wrote:
> > How can I write the output of command \d substance_intake to file . There
> > is a large data which I can not capture onto the image.
> 
> Please do the following steps:
> 
>       Open a command-prompt (terminal) session.
>       Type in the following, and include the resulting file in your mail:
> 
>       psql -U gm-dbo -d gnumed_v19 -c '\d clin.substance_intake' >
> substance_intake.txt
> 
> Note that this will not work in that way on Windows.
>

What makes you think it will not work that way in Windows ?


cd c:\Windows\temp 

C:\WINDOWS\Temp>c:\Programme\PostgreSQL\9.3\bin\psql.exe -U gm-dbo -d 
gnumed_v19 -c "\d clin.substance_intake" > substance_intake.txt

Passwort für Benutzer gm-dbo:

--> see attached output

Sebastian

Attachment: substance_intake.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]