Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-03

Trouble with PostGres access

17 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Arí Ricardo Ody

I'm running Lazarus 0.9.26 under windows XP pro SP3.

I know that in a machine named japi29 in the internal netword there is Posgres installed.

When I open PgAdmin postgres client in my machine I see for databases. The database that I want to access is name Conversor.

Okay. I create a new project and add a TPQConnection and type "Conversor"(without quotes) in the DataBaseName property, I type "japi29"(without quotes) in the hostname property. When I choose true in the Connected property I receive first the message:

It wasn't possible to locate the ordinal number 2824 in the dynamic link library LIBEAY32.dll

(this is a translation of the message. it was written in portuguese here in my machine)

After click OK, I receive tehe message:

Cannot load PosgreSQLclient. Is it installed? (libpq.dll)

Well... What do I do to access PostGres databases?

Please. May someone help me?

Greetings from Sao Paulo - Brazil

Ricardo

Reply by email

Joao Kho
to Arí Ricardo Ody

Maybe need copy PostGre libary (files) to your working folder or your Lazarus folder, like pqsql.dll, libeay32.dll and another dll popup on error.

2009/3/19 Ar? Ricardo Ody

Show quoted text 37 lines
I'm running Lazarus 0.9.26 under windows XP pro SP3. I know that in a machine named japi29 in the internal netword there is Posgres installed. When I open PgAdmin postgres client in my machine I see for databases. The database that I want to access is name Conversor. Okay. I create a new project and add a TPQConnection and type "Conversor"(without quotes) in the DataBaseName property, I type "japi29"(without quotes) in the hostname property. When I choose true in the Connected property I receive first the message: It wasn't possible to locate the ordinal number 2824 in the dynamic link library LIBEAY32.dll (this is a translation of the message. it was written in portuguese here in my machine) After click OK, I receive tehe message: Cannot load PosgreSQLclient. Is it installed? (libpq.dll) Well... What do I do to access PostGres databases? Please. May someone help me? Greetings from Sao Paulo - Brazil Ricardo _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20090320/17950198/attachment.html

Reply by email

Arí Ricardo Ody

I search the whole lazarus directory and can't
find libeay32.dll(I found a reference in the openssl unit). I search the whole lazarus directory and can't
find pqsql.dll. Not in disc, nor a reference in some module. :'(

[ ]

you wrote 48 lines
Maybe need copy PostGre libary (files) to your working folder or your Lazarus folder, like pqsql.dll, libeay32.dll and another dll popup on error. 2009/3/19 Ar? Ricardo Ody <<mailto:>> I'm running Lazarus 0.9.26 under windows XP pro SP3. I know that in a machine named japi29 in the internal netword there is Posgres installed. When I open PgAdmin postgres client in my machine I see for databases. The database that I want to access is name Conversor. Okay. I create a new project and add a TPQConnection and type "Conversor"(without quotes) in the DataBaseName property, I type "japi29"(without quotes) in the hostname property. When I choose true in the Connected property I receive first the message: It wasn't possible to locate the ordinal number 2824 in the dynamic link library LIBEAY32.dll (this is a translation of the message. it was written in portuguese here in my machine) After click OK, I receive tehe message: Cannot load PosgreSQLclient. Is it installed? (libpq.dll) Well... What do I do to access PostGres databases? Please. May someone help me? Greetings from Sao Paulo - Brazil Ricardo _______________________________________________ Lazarus mailing list <mailto:> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20090319/01687139/attachment.html

Reply by email

Marc Weustink
to Arí Ricardo Ody: I'm running Lazarus 0.9.26 under windows XP pro SP3. I know that in a machine named…
Ar? Ricardo Ody wrote 15 lines
I'm running Lazarus 0.9.26 under windows XP pro SP3. I know that in a machine named japi29 in the internal netword there is Posgres installed. When I open PgAdmin postgres client in my machine I see for databases. The database that I want to access is name Conversor. Okay. I create a new project and add a TPQConnection and type "Conversor"(without quotes) in the DataBaseName property, I type "japi29"(without quotes) in the hostname property. When I choose true in the Connected property I receive first the message: It wasn't possible to locate the ordinal number 2824 in the dynamic link library LIBEAY32.dll

Did you move and of the installed postgre dlls to a different place ? If so, restrore them to the original location

Is the bin-directory where pgAdmin is located part of your system path ? If not, add it (my computer - properties - advanced - environment vars)

Check if you can run psql on a command prompt.

Marc

Reply by email

Arí Ricardo Ody

I've cpoied the dll's to the application
directory and everytinng's altright when change
the connected property to true. lets go straight
forward and see what will happen.

Is there a directory ohter that the application
one where I can copy teh PostGreSQL dll's?

Thank you

Ricardo

you wrote 48 lines
Maybe need copy PostGre libary (files) to your working folder or your Lazarus folder, like pqsql.dll, libeay32.dll and another dll popup on error. 2009/3/19 Ar? Ricardo Ody <<mailto:>> I'm running Lazarus 0.9.26 under windows XP pro SP3. I know that in a machine named japi29 in the internal netword there is Posgres installed. When I open PgAdmin postgres client in my machine I see for databases. The database that I want to access is name Conversor. Okay. I create a new project and add a TPQConnection and type "Conversor"(without quotes) in the DataBaseName property, I type "japi29"(without quotes) in the hostname property. When I choose true in the Connected property I receive first the message: It wasn't possible to locate the ordinal number 2824 in the dynamic link library LIBEAY32.dll (this is a translation of the message. it was written in portuguese here in my machine) After click OK, I receive tehe message: Cannot load PosgreSQLclient. Is it installed? (libpq.dll) Well... What do I do to access PostGres databases? Please. May someone help me? Greetings from Sao Paulo - Brazil Ricardo _______________________________________________ Lazarus mailing list <mailto:> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20090320/edff0bcd/attachment.html

Reply by email

Jalal
When I choose true in the Connected property I receive first the message: It wasn't possible to locate? the ordinal number 2824 in the dynamic link library LIBEAY32.dll

For some reason, the DLLs from OpenSSL.org do not work with libpq.

Use the DLLs that came with PostgreSQL or pgAdmin and it should work fine.

As others already suggested, you can put one of those folders (containing libpq, libeay32, ssleay32, etc) on your search path, or copy those files to your program folder. -------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20090320/26210347/attachment.html

Reply by email

Arí Ricardo Ody
to Jalal

I've copied the dll's from pgAdmin directory to my application one.

I add transaction, query, datasource, DBNavigator and DBGrid.

When I change the property Connected of PQConnection to true the msg:

It wasn't possible to find(or locate) the ordinal number 2821 in the dynamic link library LIBEAY32.dll
(I'm sure that I've copied this library form pgAdmin to my application directory)

When I click OK I receive the msg:

Cannot load PostGreSQL client. Is it installed?(libpq.dll) (again I'm sure that I've copied this library from pgAdmin to my application directory.

I put: japi29 in the hostname, Conversor in DataBaseName, the username and the password in the PQConnection

I'm trying to browse a table named DATATYPES. I put the SQL command below in the SQLQuery sql statement:

select * from Conversor.DATATYPES;

When I run the application the DBNavigator and the DBGrid appear empty. And no errors are reported. But if I try to manually change the PQCOnnection I receive the errors explained above>

Some aditional suggerstion(s)?

Cheers

Ricardo

P.S.: If someone would like to try I send my project

you wrote 16 lines
> When I choose true in the Connected property I receive first the message: > It wasn't possible to locate the ordinal number 2824 in the dynamic link library LIBEAY32.dll For some reason, the DLLs from OpenSSL.org do not work with libpq. Use the DLLs that came with PostgreSQL or pgAdmin and it should work fine. As others already suggested, you can put one of those folders (containing libpq, libeay32, ssleay32, etc) on your search path, or copy those files to your program folder. _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Andrew Brunner
to Arí Ricardo Ody

The only feedback I have is that it appears that the windows client postgresql library requires SSL sockets. And it uses SSLEasy. I recall that under windows, all you need to do is get the SSLEasy.DLL into the program's directory and then, the Client component should be able to find that DLL.

2009/3/20 Ar? Ricardo Ody :

Show quoted text 61 lines
I've copied the dll's from pgAdmin directory to my application one. I add transaction, query, datasource, DBNavigator and DBGrid. When I change the property Connected of PQConnection to true the msg: It wasn't possible to find(or locate) the ordinal number 2821 in the dynamic link library LIBEAY32.dll (I'm sure that I've copied this library form pgAdmin to my application directory) When I click OK I receive the msg: Cannot load PostGreSQL client. Is it installed?(libpq.dll) (again I'm sure that I've copied this library from pgAdmin to my application directory. I put: japi29 in the hostname, Conversor in DataBaseName, the username and the password in the PQConnection I'm trying to browse a table named DATATYPES. I put the SQL command below in the SQLQuery sql statement: select * from Conversor.DATATYPES; When I run the application the DBNavigator and the DBGrid appear empty. And no errors are reported. But if I try to manually change the PQCOnnection I receive the errors explained above> Some aditional suggerstion(s)? Cheers Ricardo P.S.: If someone would like to try I send my project At 11:09 20/3/2009, you wrote: > > When I choose true in the Connected property I receive first the message: > > > It wasn't possible to locate ?the ordinal number 2824 in the > dynamic link library LIBEAY32.dll > >For some reason, the DLLs from OpenSSL.org do not work with libpq. > >Use the DLLs that came with PostgreSQL or pgAdmin and it should work fine. > >As others already suggested, you can put one of those folders >(containing libpq, libeay32, ssleay32, etc) on your search path, or >copy those files to your program folder. >_______________________________________________ >Lazarus mailing list > >http://www.lazarus.freepascal.org/mailman/listinfo/lazarus _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Arí Ricardo Ody
to Andrew Brunner

I seek for SSLEasy.dll in Google and in my local
disk. I can't find it. I only found SSLEay.dll

May you help me?

[ ]

Ricardo

you wrote 75 lines
The only feedback I have is that it appears that the windows client postgresql library requires SSL sockets. And it uses SSLEasy. I recall that under windows, all you need to do is get the SSLEasy.DLL into the program's directory and then, the Client component should be able to find that DLL. 2009/3/20 Ar? Ricardo Ody : > I've copied the dll's from pgAdmin directory to my application one. > > I add transaction, query, datasource, DBNavigator and DBGrid. > > When I change the property Connected of PQConnection to true the msg: > > It wasn't possible to find(or locate) the ordinal number 2821 in the > dynamic link library LIBEAY32.dll > (I'm sure that I've copied this library form pgAdmin to my > application directory) > > When I click OK I receive the msg: > > Cannot load PostGreSQL client. Is it installed?(libpq.dll) > (again I'm sure that I've copied this library from pgAdmin to my > application directory. > > I put: japi29 in the hostname, Conversor in DataBaseName, the > username and the password in the PQConnection > > I'm trying to browse a table named DATATYPES. I put the SQL command > below in the SQLQuery sql statement: > > select * from Conversor.DATATYPES; > > When I run the application the DBNavigator and the DBGrid appear > empty. And no errors are reported. But if I try to manually change > the PQCOnnection I receive the errors explained above> > > Some aditional suggerstion(s)? > > Cheers > > Ricardo > > P.S.: If someone would like to try I send my project > > At 11:09 20/3/2009, you wrote: >> > When I choose true in the Connected property I receive first the message: >> >> > It wasn't possible to locate the ordinal number 2824 in the >> dynamic link library LIBEAY32.dll >> >>For some reason, the DLLs from OpenSSL.org do not work with libpq. >> >>Use the DLLs that came with PostgreSQL or pgAdmin and it should work fine. >> >>As others already suggested, you can put one of those folders >>(containing libpq, libeay32, ssleay32, etc) on your search path, or >>copy those files to your program folder. >>_______________________________________________ >>Lazarus mailing list >> >>http://www.lazarus.freepascal.org/mailman/listinfo/lazarus > > > _______________________________________________ > Lazarus mailing list > > http://www.lazarus.freepascal.org/mailman/listinfo/lazarus > _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Andrew Brunner
to Arí Ricardo Ody

That's the file "SSLEay.dll" Just copy it to the program's folder and try again at runtime... what happens?

2009/3/20 Ar? Ricardo Ody :

Show quoted text 92 lines
I seek for SSLEasy.dll in Google and in my local disk. I can't find it. I only found SSLEay.dll May you help me? [ ] Ricardo At 12:10 20/3/2009, you wrote: >The only feedback I have is that it appears that the windows client >postgresql library requires SSL sockets. ?And it uses SSLEasy. ?I >recall that under windows, all you need to do is get the SSLEasy.DLL >into the program's directory and then, the Client component should be >able to find that DLL. > > >2009/3/20 Ar? Ricardo Ody : > > I've copied the dll's from pgAdmin directory to my application one. > > > > I add transaction, query, datasource, DBNavigator and DBGrid. > > > > When I change the property Connected of PQConnection to true the msg: > > > > It wasn't possible to find(or locate) the ordinal number 2821 in the > > dynamic link library LIBEAY32.dll > > (I'm sure that I've copied this library form pgAdmin to my > > application directory) > > > > When I click OK I receive the msg: > > > > Cannot load PostGreSQL client. Is it installed?(libpq.dll) > > (again I'm sure that I've copied this library from pgAdmin to my > > application directory. > > > > I put: japi29 in the hostname, Conversor in DataBaseName, the > > username and the password in the PQConnection > > > > I'm trying to browse a table named DATATYPES. I put the SQL command > > below in the SQLQuery sql statement: > > > > select * from Conversor.DATATYPES; > > > > When I run the application the DBNavigator and the DBGrid appear > > empty. And no errors are reported. But if I try to manually change > > the PQCOnnection I receive the errors explained above> > > > > Some aditional suggerstion(s)? > > > > Cheers > > > > Ricardo > > > > P.S.: If someone would like to try I send my project > > > > At 11:09 20/3/2009, you wrote: > >> > When I choose true in the Connected > property I receive first the message: > >> > >> > It wasn't possible to locate ?the ordinal number 2824 in the > >> dynamic link library LIBEAY32.dll > >> > >>For some reason, the DLLs from OpenSSL.org do not work with libpq. > >> > >>Use the DLLs that came with PostgreSQL or pgAdmin and it should work fine. > >> > >>As others already suggested, you can put one of those folders > >>(containing libpq, libeay32, ssleay32, etc) on your search path, or > >>copy those files to your program folder. > >>_______________________________________________ > >>Lazarus mailing list > >> > >>http://www.lazarus.freepascal.org/mailman/listinfo/lazarus > > > > > > _______________________________________________ > > Lazarus mailing list > > > > http://www.lazarus.freepascal.org/mailman/listinfo/lazarus > > > >_______________________________________________ >Lazarus mailing list > >http://www.lazarus.freepascal.org/mailman/listinfo/lazarus _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Andrew Brunner

---------- Forwarded message ----------

Earlier message 50 lines
From: Andrew Brunner Date: 2009/3/20 Subject: Re: Re: [Lazarus] Trouble with PostGres access To: Ar? Ricardo Ody I suspect that the fact that you have an old SSLEAY32.DLL is your problem. I can't find any mention of the Easy SSL project anymore. Can anyone else contribute? ?Where can we get the latest and greatest 32bit Windoze DLLs for SSL that this component is using? Is openssl.org the place? 2009/3/20 Ar? Ricardo Ody : > Here it is. > > Thanks for your efforts. > > At 15:33 20/3/2009, you wrote: >> >> So the problem is apparently with a mismatch of parameters being used >> from the SSL Lib and the PostgreSql component. >> >> Not much you can fix. ?It's probably a dev issue. ?Next find the DLL >> and right click ?- properties - what version of SSLEay32.dll are you >> working with? >> >> 2009/3/20 Ar? Ricardo Ody : >> > Look the attached module >> > >> > At 15:13 20/3/2009, you wrote: >> >> >> >> Ok, what does it say if you do that @ runtime... ie.) Just on show set >> >> to true... >> >> >> >> 2009/3/20 Ar? Ricardo Ody : >> >> > >> >> >> Sorry, you wrote SSLEasy in your first e-mail. Well, I download and >> >> >> copy >> >> >> ssleay32 to directory where my application is. >> >> >> >> >> >> Look what happens when I try change the connected property to true >> >> >> for >> >> >> the >> >> >> PQConnection in the attached file. >> > >> > >> > > > >

Reply by email

Alex du Plessis
to Andrew Brunner
Andrew Brunner wrote 59 lines
---------- Forwarded message ---------- From: Andrew Brunner Date: 2009/3/20 Subject: Re: Re: [Lazarus] Trouble with PostGres access To: Ar? Ricardo Ody I suspect that the fact that you have an old SSLEAY32.DLL is your problem. I can't find any mention of the Easy SSL project anymore. Can anyone else contribute? Where can we get the latest and greatest 32bit Windoze DLLs for SSL that this component is using? Is openssl.org the place? 2009/3/20 Ar? Ricardo Ody : > Here it is. > > Thanks for your efforts. > > At 15:33 20/3/2009, you wrote: > >> So the problem is apparently with a mismatch of parameters being used >> from the SSL Lib and the PostgreSql component. >> >> Not much you can fix. It's probably a dev issue. Next find the DLL >> and right click - properties - what version of SSLEay32.dll are you >> working with? >> >> 2009/3/20 Ar? Ricardo Ody : >> >>> Look the attached module >>> >>> At 15:13 20/3/2009, you wrote: >>> >>>> Ok, what does it say if you do that @ runtime... ie.) Just on show set >>>> to true... >>>> >>>> 2009/3/20 Ar? Ricardo Ody : >>>> >>>>>> Sorry, you wrote SSLEasy in your first e-mail. Well, I download and >>>>>> copy >>>>>> ssleay32 to directory where my application is. >>>>>> >>>>>> Look what happens when I try change the connected property to true >>>>>> for >>>>>> the >>>>>> PQConnection in the attached file. >>>>>> >>> >>> > > _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

I am running a Postgres 8.3 db and I find no problems to connect,query and post to it. However, I copied all the DLL's from the postgres bin directory(i.e. C:\Program Files\PostgreSQL\8.3\bin) into my application directory i.e. where the exe file resides. I also distribute these files in the exe directory when I deploy the application. I think the other directory to install them would be C:\WINDOWS\system32

HTH

Alex

Reply by email

Arí Ricardo Ody
to Alex du Plessis
Alex du Plessis wrote 6 lines
I am running a Postgres 8.3 db and I find no problems to connect,query and post to it. However, I copied all the DLL's from the postgres bin directory(i.e. C:\Program Files\PostgreSQL\8.3\bin) into my application directory i.e. where the exe file resides. I also distribute these files in the exe directory when I deploy the application. I think the other directory to install them would be C:\WINDOWS\system32

I can guarantee that I copy the dll's from the directory you tell above. Late, someone told about the dll's that reside in the pgAdmin directories and I copy again from there...

As soon as I read your message I copied all dll's from the same directory you mention in your message. When I try to change the "connected" property of TPQConnection to true, the errors remain appearing. (In the property DataBaseName of the TPQConnection I put the name of database that I saw via pgAdmin. Is this right?)

Reading your message I can't have idea about what's the trouble in my environment and 'bout which other trials I should do.

Thanks

Ricardo

Reply by email

Alex du Plessis
to Arí Ricardo Ody

Try copying all the dll's in the postgres bin directory to C:\WINDOWS\system32
I have just created a test app with only TPQConnection filled in server name, database name, user and password and it connected without any hiccup.

The messages you get are typically when Lazarus(and your app) can't see the dll's.

I also noticed that you are not running the postgres server locally (i.e. localhost - 127.0.0.1). Have you edited postgres.conf on the server to allow connections from machines other than localhost? Stated differently: Have you told the postgres server to allow connections from network machines?

Ar? Ricardo Ody wrote 28 lines
Sat, 21 Mar 2009 08:00:19 +0200, Alex du Plessis escreveu: > I am running a Postgres 8.3 db and I find no problems to connect,query > and post to it. However, I copied all the DLL's from the postgres bin > directory(i.e. C:\Program Files\PostgreSQL\8.3\bin) into my application > directory i.e. where the exe file resides. I also distribute these > files in the exe directory when I deploy the application. > I think the other directory to install them would be C:\WINDOWS\system32 > I can guarantee that I copy the dll's from the directory you tell above. Late, someone told about the dll's that reside in the pgAdmin directories and I copy again from there... As soon as I read your message I copied all dll's from the same directory you mention in your message. When I try to change the "connected" property of TPQConnection to true, the errors remain appearing. (In the property DataBaseName of the TPQConnection I put the name of database that I saw via pgAdmin. Is this right?) Reading your message I can't have idea about what's the trouble in my environment and 'bout which other trials I should do. Thanks Ricardo _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Arí Ricardo Ody
to Alex du Plessis
you wrote 8 lines
Try copying all the dll's in the postgres bin directory to C:\WINDOWS\system32 I have just created a test app with only TPQConnection filled in server name, database name, user and password and it connected without any hiccup. The messages you get are typically when Lazarus(and your app) can't see the dll's.

I done. And it seems to solve the trouble. Thank you. At least, when I change the connected property to true, no errors occur.

Show quoted text 5 lines
I also noticed that you are not running the postgres server locally (i.e. localhost - 127.0.0.1). Have you edited postgres.conf on the server to allow connections from machines other than localhost? Stated differently: Have you told the postgres server to allow connections from network machines?

If I open the postgres databases with pgAdmin that runs in my machine, I suppose that the connections from the netword machines is allowed. Doesn't it?

pgAdmin show that my table is in the schema "public" and in a database named "Conversor". If the table I want to access is named DATATYPES how should I write the sql command to acess the table in a full browse?

select * from Conversor.DATATYPES?
select * from public.DATATYPES?

Or how?

Thanks for your efforts and patience.

Ricardo

Reply by email

Arí Ricardo Ody

Trouble with SQL statement solved. I must use quotes in the name of the table I want to open, because the name of the tables in PostGres are case sensitive.

Copy the PostGres DLLs from the bin directory to windows\system32 directory solve the trouble with access, as mr. Alex du Plessis, said.

Thanks to everyone that try to help.

Ricardo

Reply by email

Alex du Plessis
to Arí Ricardo Ody: I done. And it seems to solve the trouble. Thank you. At least, when I change the…
Ar? Ricardo Ody wrote 28 lines
At 13:40 21/3/2009, you wrote: > Try copying all the dll's in the postgres bin directory to > C:\WINDOWS\system32 > I have just created a test app with only TPQConnection filled in server > name, database name, user and password and it connected without any > hiccup. > > The messages you get are typically when Lazarus(and your app) can't see > the dll's. > I done. And it seems to solve the trouble. Thank you. At least, when I change the connected property to true, no errors occur. > I also noticed that you are not running the postgres server locally > (i.e. localhost - 127.0.0.1). Have you edited postgres.conf on the > server to allow connections from machines other than localhost? Stated > differently: Have you told the postgres server to allow connections from > network machines? > If I open the postgres databases with pgAdmin that runs in my machine, I suppose that the connections from the netword machines is allowed. Doesn't it?

That would seem so yes.

Show quoted text 8 lines
pgAdmin show that my table is in the schema "public" and in a database named "Conversor". If the table I want to access is named DATATYPES how should I write the sql command to acess the table in a full browse? select * from Conversor.DATATYPES? select * from public.DATATYPES?

If you have set TPQConnection to connect to the database "Conversor", you don't need to qualify the tablename with the schema name(although that is allowed) because schema "public" is the default schema. When you create other schemas though and want to access the tables in the new schema then you do have to qualify the tablename with the schema name as you have done above.

Or how? Thanks for your efforts and patience.

My pleasure

Show quoted text 10 lines
Ricardo _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email