Re: \d commands in psql 9.0

Lists: pgsql-hackers
From: Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: \d commands in psql 9.0
Date: 2010-04-03 20:39:03
Message-ID: j2t3073cc9b1004031339k57a9c4f4m7c04154eac9149be@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Hi,

Seems like \dd and \ddp+ gives the same answer...
The reason this is misleading is that \ddp is a command and i was
trying to get extra info with \ddp+ (which doesn't exist)

are we requiring a space between the command and it's first parameter?

--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: \d commands in psql 9.0
Date: 2010-04-03 20:46:14
Message-ID: 24501.1270327574@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec> writes:
> are we requiring a space between the command and it's first parameter?

Yes.

regards, tom lane


From: Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: \d commands in psql 9.0
Date: 2010-04-03 20:50:28
Message-ID: r2x3073cc9b1004031350tefae661dha41bf1736adbe124@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Sat, Apr 3, 2010 at 4:46 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec> writes:
>> are we requiring a space between the command and it's first parameter?
>
> Yes.
>

then, something is wrong because \ddp+ should be giving an error
(because that command doesn't exist and \dd seems to be accepting the
p+ as a parameter)

--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: \d commands in psql 9.0
Date: 2010-04-03 20:56:58
Message-ID: 25290.1270328218@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec> writes:
> then, something is wrong because \ddp+ should be giving an error
> (because that command doesn't exist and \dd seems to be accepting the
> p+ as a parameter)

No, it's just ignoring the p+, not treating it as a parameter. I agree
this is bogus --- patch committed.

regards, tom lane