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
- [PATCHES] Reference by output in : \d <table_name> kenneth d'souza
- Re: [PATCHES] Reference by output in : \d <table_n... Brendan Jurd
- [PATCHES] Reference by output in : \d <table_name&... kenneth d'souza
- Re: [PATCHES] Reference by output in : \d <tab... Bruce Momjian
- Re: [PATCHES] Reference by output in : \d <tab... Tom Lane
- Re: [PATCHES] Reference by output in : \d <... Brendan Jurd
- Re: [PATCHES] Reference by output in : \d... kenneth d'souza
- Re: [PATCHES] Reference by output in... Brendan Jurd
- Re: [PATCHES] Reference by outpu... Tom Lane
- Re: [PATCHES] Reference by o... Brendan Jurd
- Re: [PATCHES] Reference by o... Alvaro Herrera
- Re: [PATCHES] Reference by o... kenneth d'souza
- Re: [PATCHES] Reference by o... Brendan Jurd