\d commands in psql 9.0

Started by Jaime Casanovaabout 16 years ago4 messageshackers
Jump to latest
#1Jaime Casanova
jcasanov@systemguards.com.ec

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

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Jaime Casanova (#1)
Re: \d commands in psql 9.0

Jaime Casanova <jcasanov@systemguards.com.ec> writes:

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

Yes.

regards, tom lane

#3Jaime Casanova
jcasanov@systemguards.com.ec
In reply to: Tom Lane (#2)
Re: \d commands in psql 9.0

On Sat, Apr 3, 2010 at 4:46 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

Jaime Casanova <jcasanov@systemguards.com.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

#4Tom Lane
tgl@sss.pgh.pa.us
In reply to: Jaime Casanova (#3)
Re: \d commands in psql 9.0

Jaime Casanova <jcasanov@systemguards.com.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