[fpc-pascal] GetTableNames in TSQLConnection / Postgresql

LacaK lacak at zoznam.sk
Mon Dec 17 10:18:37 CET 2012


Reinier Olislagers  wrote / napĂ­sal(a):
> On 16-12-2012 2:27, John wrote:
>   
>> @Reinier:
>>     
>>>> Analysis:
>>>> As far as I can work out, a call to GetTableNames calls GetDBInfo, with
>>>> parameters
>>>>    ASchemaType : TSchemaType - This specifies what info we want - user
>>>> tables, sys tables, procedures, columns etc
>>>>    ASchemaObjectName - Doesn't seem to be used, it is specified as ""
>>>>         
>>> No, it's not used for GetTableNames; it is used e.g. to specify the
>>> table name if you want to know info about columns.
>>>       
>> Yes, I saw that, but there seems no reason why it could not be used as a
>> schema selection.
>>     
> I understand; just wanted to let you know what it was used for.
>
>   
>> I also had a flip through the previous discussion, but it was indeed a
>> long and tortuous thread to follow!
>>     
> Agreed. AFAIR, there was a decision in the end... but it was a long
> thread and a long while ago.
> I've incorporated some of Lacak's proposal into
> http://wiki.lazarus.freepascal.org/Database_metadata#Proposal_for_extension.2Funiformization
> ... and will update that page going through that thread.
>   
Good job!
Thanks.
-Laco.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20121217/38eb9750/attachment.html>


More information about the fpc-pascal mailing list