I think, that if this view(s) is(are) presented in all versions of
PostgreSQL which fcl-db is going to support, that it is no problem
use them
(I must note, that my preffered way is follow sql standard
INFORMATION_SCHEMA views at least in column naming)
The equivalent INFORMATION_SCHEMA
On 16-12-2012 20:40, Krzysztof wrote:
And which database you prefer? I don't need complicated functionality.
The most important is insert speed and it must be embedded. I'm thinking
of SQLight, DBF or Firebird Embedded
I'd probably go with SQLite or Firebird embedded.
SQlite is probably a bit
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
On Mon, 17 Dec 2012, LacaK wrote:
2) The simple way to get the schemas would be to simply 'select ...
schemaname||'.'||relname as table_name ... from pg_stat_user_tables.
This would be a change ONLY to the sql in pqconnection. (If worst comes
to worst, I dare say could create my own
On Sun, 16 Dec 2012, Graeme Geldenhuys wrote:
On 15/12/2012 21:22, Sven Barth wrote:
Maybe because the authors prefered inline comments instead of fpdoc's
XML files...
A shame, because the more detailed the documentation, the more it obfuscates
the code.
eg: Documentation Insight, a
michael.vancann...@wisa.be wrote / napísal(a):
On Mon, 17 Dec 2012, LacaK wrote:
2) The simple way to get the schemas would be to simply 'select
... schemaname||'.'||relname as table_name ... from
pg_stat_user_tables. This would be a change ONLY to the sql in
pqconnection. (If worst
On Mon, 17 Dec 2012, LacaK wrote:
michael.vancann...@wisa.be wrote / napísal(a):
On Mon, 17 Dec 2012, LacaK wrote:
2) The simple way to get the schemas would be to simply 'select ...
schemaname||'.'||relname as table_name ... from pg_stat_user_tables.
This would be a change ONLY to
michael.vancann...@wisa.be wrote / napísal(a):
On Mon, 17 Dec 2012, LacaK wrote:
michael.vancann...@wisa.be wrote / napísal(a):
On Mon, 17 Dec 2012, LacaK wrote:
2) The simple way to get the schemas would be to simply 'select
... schemaname||'.'||relname as table_name ... from
On Mon, 17 Dec 2012, LacaK wrote:
But original question AFAIU was about: what should GetTableNames return
(schema query can return multiple columns, but what column use when fill
list of table names)?
GetTableNames return list of table names into TStrings.
Now only TABLE_NAME is returned.
On 17/12/2012 10:45, michael.vancann...@wisa.be wrote:
On Mon, 17 Dec 2012, LacaK wrote:
Yes. May be, that I was not clear. My suggestion was 3+ fields in query:
SCHEMA_NAME, TABLE_NAME, SCHEMA_TABLE_NAME (SCHEMA_NAME || '.' ||
TABLE_NAME)
But original question AFAIU was about: what
But then you did not mention that you're looking for something
cross-platform either.. ;-)
Actually I did :P ...client which work on linux and windows
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
On Mon, 17 Dec 2012, Ludo Brands wrote:
On 17/12/2012 10:45, michael.vancann...@wisa.be wrote:
On Mon, 17 Dec 2012, LacaK wrote:
Yes. May be, that I was not clear. My suggestion was 3+ fields in query:
SCHEMA_NAME, TABLE_NAME, SCHEMA_TABLE_NAME (SCHEMA_NAME || '.' ||
TABLE_NAME)
But
Ok finally I get working demo of first websocket client based on synapse:
http://code.google.com/p/bauglir-websocket . If you want to connect to test
serwer on http://www.websocket.org you must set host exactly to '
echo.websocket.org' (don't use 'ws://' or 'http://' prefix!) and port to 80.
But
michael.vancann...@wisa.be wrote:
On Sun, 16 Dec 2012, Graeme Geldenhuys wrote:
On 15/12/2012 21:22, Sven Barth wrote:
Maybe because the authors prefered inline comments instead of fpdoc's
XML files...
A shame, because the more detailed the documentation, the more it
obfuscates the code.
Ehm... you know that AFAIK all those languages have constraints as well? :)
Yes, I do ;)
Though if your comment is regarding the possible future developments: of
course :D
You got my point
--
View this message in context:
These calls are available in the linux unit. I have an article that
describes how it works, if you want.
@Michael Van Canneyt: Could you send mi link to this article?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
The question is also why return SCHEMA_NAME || '.' || TABLE_NAME when
this is not always usable in a query later on ? One DB needs
SCHEMA_NAME.TABLE_NAME, another `SCHEMA_NAME`.`TABLE_NAME`.
An additional option soQuoteNames?
Well, if you don't need the concatenation, presumably you don't
For now I added in rev.23163 schema name into query for PostgreSQL (so
no empty schema name is returned, but valid schema name)
Here I understand:
stTables - list of all tables, which may include system tables (it is
not clear from documentation)?
stSysTables - list of ONLY system tables (not
Hello,
Is there any way to define the appropriate type for `AMethod` (in mode
ObjFPC)?
TTestClass = Class
Public
Class Procedure AMethod;
End;
I tried
Type TSomeType = Class Procedure;
But this didn't work. Rather obvious of course since this could also be
interpreted
Hello fellow Pascaloids,
I'm proud to announce that Allegro.pas 4.4.4 was released some days ago.
This new version has a lot of improvements:
* Added full support for 64bit systems.
* New API for data types, parameters and return values, less confusing that
previous one.
* Demonstration game
2012/12/16 Sven Barth pascaldra...@googlemail.com
Why are you doing this? install_exception_handlers is called during
process entry of Win32/Win64 programs already, so calling this twice can be
considered a bad(TM) idea.
Regards,
Maybe hence problems. I want to create own compiler for
Hi,
as the question whether inline or external source docs are the way to go
(again?) came up, here are my thoughts (currently searching for the best
solution :) ):
I personally prefer external docs (and thus started to use fpdoc);
reasons are uncluttered source, less scrolling and (if you
At 02:25 AM 12/17/2012, Krzysztof wrote:
But then you did not mention that you're looking for something
cross-platform either.. ;-)
Actually I did :P ...client which work on linux and windows
Sorry, my bad :-[ , I totally missed that, saw it now when I checked
back at your original
On Mon, 17 Dec 2012, dev.d...@gmail.com wrote:
Hi,
as the question whether inline or external source docs are the way to go
(again?) came up, here are my thoughts (currently searching for the best
solution :) ):
I personally prefer external docs (and thus started to use fpdoc);
reasons are
On 17.12.2012 17:39, Ewald wrote:
Hello,
Is there any way to define the appropriate type for `AMethod` (in mode
ObjFPC)?
TTestClass = Class
Public
Class Procedure AMethod;
End;
I tried
Type TSomeType = Class Procedure;
But this didn't work. Rather obvious of
Hi guys
It looks like currently FPC does not support dynamic bitpacked arrays.
I wonder how much work it will take to make support for it?
For some things, it's a really useful functionality.
--
Regards,
Denis Golovan
___
fpc-pascal maillist -
You can use sets or TBits. Unless you mean packed arrays of byte or
word, etc. In this case you just declare myvar: packed array of
byte.
-Flávio
On Mon, Dec 17, 2012 at 5:46 PM, denisgolovan denisgolo...@yandex.ru wrote:
Hi guys
It looks like currently FPC does not support dynamic bitpacked
On 17/12/12 17:57, dev.d...@gmail.com wrote:
Btw. I really like the lazarus fpdoc GUI...
Compared to Documentation Insight (a Delphi IDE add-on), the UI of FPDoc
Editor has a lot to be desired for. Plus the fact that FPDoc Editor
generates undesired formatted XML for fpdoc is not so nice.
On 17 Dec 2012, at 20:04, Sven Barth wrote:
There is no real solution for this.
I already thought so, I thank you for clearing this matter up to me.
Any ideas?
BTW: For time being I fixed it through
TProcType(Pointer(@TTestClass.AMethod)), where `TProcType = Procedure;`.
I think
On Mon, 17 Dec 2012 20:44:08 +
Graeme Geldenhuys gra...@geldenhuys.co.uk wrote:
On 17/12/12 17:57, dev.d...@gmail.com wrote:
Btw. I really like the lazarus fpdoc GUI...
Compared to Documentation Insight (a Delphi IDE add-on), the UI of FPDoc
Editor has a lot to be desired for. Plus
18.12.12, 5:26, Ewald пишет:
Suppose TTestClass contains `AField: Integer; static;`, then the following
would be right if I understand you correctly?
Class Procedure TTestClass.AMethod; static; // I don't know if `static` should
be in the implementation as well, but I'll soon figure out :-)
On 17/12/12 21:45, Mattias Gaertner wrote:
I thought that was fixed?
Umm, I'll have to double check.
Regards,
- Graeme -
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
___
fpc-pascal maillist
On 17/12/12 21:45, Mattias Gaertner wrote:
I thought that was fixed?
OK, my apologies for the false alarm. The XML generation seems fixed now.
There are other issues with the FPDoc Editor dialog though. Off the top
of my head:
- It allows you to enter long descriptions for method arguments,
I have never used FPDoc, but I'd like to understand how it would work
in my specific case.
I am blind. I use screen reader. I compile my projects without the
intervenience of an IDE. No Lazarus, No FPC console ID, I compile my
projects with commands like that:
fpc myprog.pp
If Myprog.pp has the
Am 17.12.2012 22:27 schrieb Ewald ew...@yellowcouch.org:
On 17 Dec 2012, at 20:04, Sven Barth wrote:
There is no real solution for this.
I already thought so, I thank you for clearing this matter up to me.
Any ideas?
BTW: For time being I fixed it through
35 matches
Mail list logo