Skip site navigation (1) Skip section navigation (2)

Re: Reference by output in : \d <table_name>

From: kenneth d'souza <kd_souza(at)hotmail(dot)com>
To: Brendan Jurd <direvus(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Reference by output in : \d <table_name>
Date: 2008-04-14 06:44:00
Message-ID: BAY116-W90C43C508C39471C54C38EDE80@phx.gbl (view raw or flat)
Thread:
Lists: pgsql-patches
Hi Brendan, 
Your observation is correct.
 
The indentation is deliberate. The reason is that the (result7,i,3) starts with the word "FOREIGN KEY ". I am using the details that follow after this blurb. All other keywords which are searched in usingpos = strstr(indexdef, " KEYWORD ") , the KEYWORD are embedded somewhere in between in the output. Hence indentation given is that of four spaces considering the final output that it is desired.
 
Thanks,
Kenneth
 
_________________________________________________________________
Tried the new MSN Messenger? It’s cool! Download now.
http://messenger.msn.com/Download/Default.aspx?mkt=en-in

In response to

Responses

pgsql-patches by date

Next:From: Brendan JurdDate: 2008-04-14 11:16:31
Subject: Re: Reference by output in : \d <table_name>
Previous:From: Tom LaneDate: 2008-04-14 02:12:41
Subject: Re: [HACKERS] Remove lossy-operator RECHECK flag?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group