Re: update faster way

2024-09-13 Thread Igor Korot
Hii, On Fri, Sep 13, 2024 at 10:22 PM yudhi s wrote: > > Hello, > We have to update a column value(from numbers like '123' to codes like 'abc' > by looking into a reference table data) in a partitioned table with billions > of rows in it, with each partition having 100's millions rows. As we te

PQconnect()

2024-07-31 Thread Igor Korot
Hi, ALL, In the https://www.postgresql.org/docs/8.1/libpq.html#LIBPQ-CONNECT it gives the "options" parameter", but it doesn't specify what options are available. Could someone please reference this? I am specifically looking for the "KeepAlive" option... Thank you.

Re: Detecting PostgreSQL client library

2024-07-10 Thread Igor Korot
On Wed, Jul 10, 2024 at 11:11 AM Pavel Stehule wrote: > > Hi > > st 10. 7. 2024 v 18:07 odesílatel Igor Korot napsal: >> >> Hi, ALL, >> Is there an explicit autotools macro that can tell >> the presence of PostgreSQL client library? >> And that can b

Detecting PostgreSQL client library

2024-07-10 Thread Igor Korot
Hi, ALL, Is there an explicit autotools macro that can tell the presence of PostgreSQL client library? And that can be used with "configure" script. Or I should be using AC_CHECK_MODULE() one? Thank you.

Questions about mmonitor

2024-01-16 Thread Igor Korot
Hi, All, Have 2 questions: 1. I'm using GNOME with Wayland on Gentoo and I have a touch screen on this laptop There is a sporadic mouse movement and clicks (without me interacting with miuse) and a monitor picture is sporadically switching between workspaces. I was told that it is a touch screen +

Re: Need support to display application at (0, 0) position on Weston desktop

2023-07-14 Thread Igor Korot
Hi, I believe with any Wayland stuff you will fail to use absolute positioning. you absolutely have to use X11 and forget about Wayland.. The Wayland devs are NOT CONVINCED enough to support absolute positioning and will just tell you to use X11. THank you. On Thu, Jul 13, 2023 at 9:55 AM huy n

Re: ssh-keygen as a regular user

2023-05-11 Thread Igor Korot
Hi, On Fri, May 12, 2023 at 12:19 AM Geert Stappers wrote: > > On Fri, May 12, 2023 at 12:07:00AM -0500, Igor Korot wrote: > > Hi, ALL, > > Is there a reason I can't run "ssh-keygen" as a regular user? > > Several :-) > > > > I am able to do i

ssh-keygen as a regular user

2023-05-11 Thread Igor Korot
Hi, ALL, Is there a reason I can't run "ssh-keygen" as a regular user? I am able to do it as "root" though, but I think it shouldn't happen. Can someone shed some light? Thank you.

Re: Black boxes

2023-05-10 Thread Igor Korot
Hi, On Wed, May 10, 2023 at 10:33 AM Ondřej Jůn wrote: > > Good day. > > After installing the Python program from your site and restarting the > computer as requested by the program, problems occurred. Programs like Word > are all in black. In addition, a black color appears in the file explorer

User is not in the sudoers file

2023-05-08 Thread Igor Korot
Hi, ALL, Is there a reason for the default install I immediately get the error in the subj? Basically trying to run: [code] sudo apt-get install [/code] Thank you.

Auto-completion in Terminal

2023-05-04 Thread Igor Korot
Hi, I successfully installed Debian Buster on the VM. Then I put in the Gues Additions CD in, open the Terminal, became root and tried to do [code] ./VBox [/code] and then I pressed TAB, but nothing happened. What is going on? Thank you.

Re: What settings should be used for VM?

2023-05-04 Thread Igor Korot
Hi, guys On Thu, May 4, 2023, 11:03 AM Igor Korot wrote: > zithro, > > On Thu, May 4, 2023 at 10:16 AM zithro wrote: > > > > On 04 May 2023 14:42, Igor Korot wrote: > > > Hi, > > > I am trying install Debian Buster on the VirtualBox as a guest. > >

Re: What settings should be used for VM?

2023-05-04 Thread Igor Korot
zithro, On Thu, May 4, 2023 at 10:16 AM zithro wrote: > > On 04 May 2023 14:42, Igor Korot wrote: > > Hi, > > I am trying install Debian Buster on the VirtualBox as a guest. > > > > I set the VM to use HostOnly network with DHCP enabled, but when I ran the &

Re: What settings should be used for VM?

2023-05-04 Thread Igor Korot
Hi, David, On Thu, May 4, 2023 at 9:00 AM David Christensen wrote: > > On 5/4/23 05:42, Igor Korot wrote: > > Hi, > > I am trying install Debian Buster on the VirtualBox as a guest. > > > > I set the VM to use HostOnly network with DHCP enabled, but when I ran the &

Re: What settings should be used for VM?

2023-05-04 Thread Igor Korot
Hi, Jeffrey, On Thu, May 4, 2023 at 9:03 AM Jeffrey Walton wrote: > > On Thu, May 4, 2023 at 8:42 AM Igor Korot wrote: > > > > I am trying install Debian Buster on the VirtualBox as a guest. > > > > I set the VM to use HostOnly network with DHCP enabled, but wh

What settings should be used for VM?

2023-05-04 Thread Igor Korot
Hi, I am trying install Debian Buster on the VirtualBox as a guest. I set the VM to use HostOnly network with DHCP enabled, but when I ran the installer it failed to auto-configure the network. How do I solve it? Thank you. P.S.: I need python 2, therefore trying to use older version.

Re: Windows Gui Frontend

2023-04-02 Thread Igor Korot
Hi, Dietmer, On Sun, Apr 2, 2023 at 1:14 PM Dietmar Schwertberger wrote: > > On 02.04.2023 18:26, Michael Torrie wrote: > > Been a long time. I was initially turned off by the event handling > > system of wx compared to the signals and slots of Gtk and Qt. > When starting with Python GUIs in 1999

Re: Windows Gui Frontend

2023-04-01 Thread Igor Korot
Hi, Thomas, On Sat, Apr 1, 2023 at 12:40 PM Thomas Passin wrote: > > On 4/1/2023 1:28 PM, Thomas Passin wrote: > > On 4/1/2023 1:21 PM, Jim Schwartz wrote: > >> Are there any ide’s that will let me design the screen and convert it > >> to python? I doubt it because it was mentioned that this is

Re: Windows Gui Frontend

2023-04-01 Thread Igor Korot
Hi, On Sat, Apr 1, 2023 at 12:24 PM Jim Schwartz wrote: > > Are there any ide’s that will let me design the screen and convert it to > python? I doubt it because it was mentioned that this is time consuming. Look at wxGlade (a project designed for wxWidgets). You will design you layout and the

Re: Hello I want help get rid of that message and help install Python properly and thank you

2023-03-22 Thread Igor Korot
Hi, On Wed, Mar 22, 2023 at 11:37 AM Mohammed nour Koujan wrote: > > > -- What message? Please don't post screenshots - copy and paste the errors from your machine... Thank you. > https://mail.python.org/mailman/listinfo/python-list -- https://mail.python.org/mailman/listinfo/python-list

Re: Get table catalog from pg_indexes

2022-11-27 Thread Igor Korot
Ron, On Sun, Nov 27, 2022 at 4:10 PM Ron wrote: > > On 11/27/22 15:55, Adrian Klaver wrote: > > On 11/27/22 13:31, Ron wrote: > >> On 11/27/22 11:22, Igor Korot wrote: > >>> Hi, ALL, > >>> Table pg_indexes does not contain a field fo

Re: Get table catalog from pg_indexes

2022-11-27 Thread Igor Korot
David, On Sun, Nov 27, 2022 at 12:55 PM David G. Johnston wrote: > > On Sun, Nov 27, 2022 at 11:42 AM Igor Korot wrote: >> >> >> It doesn't say anything about "current" DB - only the DB. > > > Yes, but you must be connected to some database in

Re: Get table catalog from pg_indexes

2022-11-27 Thread Igor Korot
Thx, Adrian. On Sun, Nov 27, 2022 at 3:56 PM Adrian Klaver wrote: > > On 11/27/22 13:31, Ron wrote: > > On 11/27/22 11:22, Igor Korot wrote: > >> Hi, ALL, > >> Table pg_indexes does not contain a field for a catalog. > >> > >> So how do I ge

Re: Get table catalog from pg_indexes

2022-11-27 Thread Igor Korot
Hi, Christopher, On Sun, Nov 27, 2022 at 12:45 PM Christophe Pettus wrote: > > > > > On Nov 27, 2022, at 10:42, Igor Korot wrote: > > > > It doesn't say anything about "current" DB - only the DB. > > In PostgreSQL terminology, a single Postgr

Re: Get table catalog from pg_indexes

2022-11-27 Thread Igor Korot
Hi, Erik, On Sun, Nov 27, 2022 at 11:59 AM Erik Wienhold wrote: > > > On 27/11/2022 18:22 CET Igor Korot wrote: > > > > Table pg_indexes does not contain a field for a catalog. > > > > So how do I get that? > > > > SELECT 1 FROM pg_indexe

Get table catalog from pg_indexes

2022-11-27 Thread Igor Korot
Hi, ALL, Table pg_indexes does not contain a field for a catalog. So how do I get that? SELECT 1 FROM pg_indexes WHERE indexname = $1 AND tablename = $2 AND schemaname = $3 Thank you.

Re: Printf-like function

2022-11-11 Thread Igor Korot
Thank you. On Fri, Nov 11, 2022 at 11:12 PM Tom Lane wrote: > > Igor Korot writes: > > Is there a printf-lilke function inside libpq that can be used > > to create a proper query string with the proper quoting of the > > literal? > > No. You'd be better off

Printf-like function

2022-11-11 Thread Igor Korot
Hi, ALL, Is there a printf-lilke function inside libpq that can be used to create a proper query string with the proper quoting of the literal? Or I will need to use sprintf()? Thank you.

List user databases

2022-11-09 Thread Igor Korot
Hi, ALL, According to https://chartio.com/resources/tutorials/how-to-list-databases-and-tables-in-postgresql-using-psql/, there are generally 3 system DBs. However I'm confused with the word general. How many system databases can be made on a PG server? Thank you.

Re: Attaching database

2022-10-18 Thread Igor Korot
; > Regards, > > On 10/15/22 02:06, Julien Rouhaud wrote: > > Hi, > > > > On Fri, Oct 14, 2022 at 11:16:44PM -0500, Igor Korot wrote: > >> Sorry for resurrecting this old thread... > >> If an attaching the DB creates new connection which will be cmpletely >

Re: Attaching database

2022-10-15 Thread Igor Korot
Hi, Adrian, On Sat, Oct 15, 2022, 10:51 AM Adrian Klaver wrote: > On 10/15/22 08:20, Adrian Klaver wrote: > > On 10/14/22 21:46, Igor Korot wrote: > > > > > >> Making catalog current means switching between DBs. > >> Remember initially I connected to (fi

Re: Attaching database

2022-10-14 Thread Igor Korot
Hi, David et al, On Fri, Oct 14, 2022 at 11:39 PM David G. Johnston wrote: > > On Fri, Oct 14, 2022 at 9:17 PM Igor Korot wrote: >> >> Hi, guys, >> >> On Sun, Oct 25, 2020 at 1:27 PM Peter J. Holzer wrote: >> > >> > On 2020-10-19 20:21:05 +0200,

Re: Attaching database

2022-10-14 Thread Igor Korot
Hi, guys, On Sun, Oct 25, 2020 at 1:27 PM Peter J. Holzer wrote: > > On 2020-10-19 20:21:05 +0200, Pavel Stehule wrote: > > po 19. 10. 2020 v 20:18 odesílatel Igor Korot napsal: > > On Mon, Oct 19, 2020 at 12:51 PM Pavel Stehule > > wrote: > >

Re: Is there Postgres ODBC binary for OSX?

2022-09-30 Thread Igor Korot
Hi, On Fri, Sep 30, 2022 at 10:41 AM Daniel Gustafsson wrote: > > > On 30 Sep 2022, at 17:36, Igor Korot wrote: > > > Is building it myself the only option? > > A quick googling indicates that there are options in the macOS package > managers: > >

Is there Postgres ODBC binary for OSX?

2022-09-30 Thread Igor Korot
Hi, ALL, Is building it myself the only option? Thank you.

Re: not able to use python

2022-08-17 Thread Igor Korot
Hi, On Wed, Aug 17, 2022 at 12:20 PM i am unable to use python wrote: > > AND I"M UNABLE TO SEE ANYTHING IN YOUR MESSAGE... THANK YOU. > > > >Sent from [1]Mail for Windows > > > > References > >Visible links >1. https://go.microsoft.com/fwlink/?LinkId=550986 > -- > https://mail.pyt

Is ODBC list dead?

2022-08-12 Thread Igor Korot
Hi, If the list IS dead - where can I get help on the topic... Thank you.

Is ODBC list still alive?

2022-08-11 Thread Igor Korot
Thank you.

Re: Conecting to MySQL

2022-08-09 Thread Igor Korot
Hi, @OP, Can you try to connect with mysql-workbench? Also - you didn't answer my first question. Are you using an ODBC wrapper or python module? Thank you. On Tue, Aug 9, 2022 at 10:27 AM Axy wrote: > > > >> trying to connect to MYSQL it appears the error msg below: > >> InterfaceError: 2003:

Re: Conecting to MySQL

2022-08-09 Thread Igor Korot
Hi, On Tue, Aug 9, 2022 at 9:07 AM Guilherme Campos wrote: > > Hello folks, > > trying to connect to MYSQL it appears the error msg below: > InterfaceError: 2003: Can't connect to MySQL server on 'localhost:3306' > (111 Connection refused) > [image: conexao.png] > How can i fix that.? What do yo

Re: Position set/get prototype template

2022-08-08 Thread Igor Korot
Or even better - when one of you will need to quickly create a "proof-of-concept" application that will jump all over the places on every startup... Thank you. On Mon, Aug 8, 2022, 9:37 AM Simon Ser wrote: > Hi, > > As we already tried to explain numerous times in the previous thread: > no, we

Re: Position set/get prototype template

2022-08-08 Thread Igor Korot
Hi, On Mon, Aug 8, 2022, 9:27 AM samuel ammonius wrote: > Hi, > > I started a discussion a while ago about the possibility of adding > position set/get abilities to wayland, but since then I'd learned alot > about how wayland works. I had heard that wayland combines the WM and > server into on

Re: Position set/get prototype template

2022-08-08 Thread Igor Korot
Hi, Simon, On Mon, Aug 8, 2022, 9:37 AM Simon Ser wrote: > Hi, > > As we already tried to explain numerous times in the previous thread: > no, we are not adding requests and events to set/get the window position. > > If you are interested in fixing an app which doesn't work on Wayland > because

Re: Use-case when positioning a window is necessary

2022-08-08 Thread Igor Korot
Hi, On Mon, Aug 8, 2022, 8:38 AM Benoît Gschwind wrote: > Hello, > > After a quick reading of your DevHelp case, I think the issue belong > devhelp and your app that using it. DevHelp have to provide an API to > be embeded in another application and Wayland protocol should not be > involved. May

Re: Window positions under wayland

2022-08-05 Thread Igor Korot
where the window is created. Always!! No exceptions. Thank you. > > On Fri, Aug 5, 2022 at 2:30 PM Daniel Stone wrote: >> >> On Fri, 5 Aug 2022 at 17:21, Igor Korot wrote: >> > On Thu, Aug 4, 2022 at 9:20 PM Thiago Macieira wrote: >> > > No, they ar

Re: Window positions under wayland

2022-08-05 Thread Igor Korot
Hi, Daniel, On Fri, Aug 5, 2022 at 8:41 AM Daniel Stone wrote: > > On Fri, 5 Aug 2022 at 14:11, samuel ammonius wrote: > > Please don't close this discussion on account of something someone > > else said. Wouldn't it be better for users, compositors, and apps if there > > was a way to manage win

Re: Window positions under wayland

2022-08-05 Thread Igor Korot
Hi, Thiago, On Thu, Aug 4, 2022 at 9:20 PM Thiago Macieira wrote: > > On Thursday, 4 August 2022 18:01:34 PDT Igor Korot wrote: > > The very first time the application starts - it will be at position > > (100,100) Then user drags the window to a position (50, 50) and closes t

Re: Window positions under wayland

2022-08-04 Thread Igor Korot
Hi, Thiago, On Thu, Aug 4, 2022 at 8:09 PM Thiago Macieira wrote: > > On Thursday, 4 August 2022 16:01:23 PDT Carsten Haitzler wrote: > > there might be bigger picture ideas BEHIND that like "i have a password > > dialog for my db app" - then great. make that dialog as such and make sure > > the

Re: Window positions under wayland

2022-08-04 Thread Igor Korot
Hi, Carsten, On Thu, Aug 4, 2022 at 6:02 PM Carsten Haitzler wrote: > > On Thu, 4 Aug 2022 14:46:40 -0500 Igor Korot said: > > > Hi, Carsten, > > > > On Thu, Aug 4, 2022 at 2:31 PM Carsten Haitzler > > wrote: > > > > > > On Thu, 4 Aug 202

Re: Window positions under wayland

2022-08-04 Thread Igor Korot
Hi, Carsten, On Thu, Aug 4, 2022 at 2:31 PM Carsten Haitzler wrote: > > On Thu, 4 Aug 2022 13:32:36 -0500 Igor Korot said: > > > Hi, > > > > On Thu, Aug 4, 2022 at 12:58 PM samuel ammonius > > wrote: > > > > > > Dude, I'm trying

Re: Window positions under wayland

2022-08-04 Thread Igor Korot
ore. You most welcome. And like I said - you are not the only one. Others tried and failed. They think its a feature and will tell you "Its by design". Thank you. > > On Thu, Aug 4, 2022 at 3:14 PM Igor Korot wrote: >> >> Hi, >> >> On Thu, Aug 4, 2022

Re: Window positions under wayland

2022-08-04 Thread Igor Korot
ank you. > > On Thu, Aug 4, 2022 at 2:57 PM Igor Korot wrote: >> >> On Thu, Aug 4, 2022 at 12:06 PM Simon Ser wrote: >> > >> > On Thursday, August 4th, 2022 at 19:00, samuel ammonius >> > wrote: >> > >> > > apps such as popu

Re: Window positions under wayland

2022-08-04 Thread Igor Korot
On Thu, Aug 4, 2022 at 12:06 PM Simon Ser wrote: > > On Thursday, August 4th, 2022 at 19:00, samuel ammonius > wrote: > > > apps such as popups and dialogs are usually supposed to start either > > at the center of the screen or the center of their parent app You are barking at the wrong tree.

Re: /sbin vs /bin

2022-07-28 Thread Igor Korot
Hi, David, On Thu, Jul 28, 2022 at 11:10 PM David Wright wrote: > > On Thu 28 Jul 2022 at 22:37:39 (-0500), Igor Korot wrote: > > According to > > https://packages.debian.org/cgi-bin/search_contents.pl?word=ldconfig&searchmode=searchfiles&case=insensitive&versio

/sbin vs /bin

2022-07-28 Thread Igor Korot
Hi, ALL, According to https://packages.debian.org/cgi-bin/search_contents.pl?word=ldconfig&searchmode=searchfiles&case=insensitive&version=stable&arch=i386, ld config is located inside /sbin and it is installed through the libc-bin. Trying to run ldconfig gives "No such file or directory" Runnin

Re: Logging the query executed on the server

2022-07-23 Thread Igor Korot
logfile with: > > b2bcreditonline=# select pg_current_logfile(); > pg_current_logfile > > /log/pg.csv 2 things: 1. How do I turn this off? ;-) 2. The log does show the query but it shows it with the placeholders. Is there a way to see the actual query? Thank you

Logging the query executed on the server

2022-07-23 Thread Igor Korot
Hi, Is it possible to log the query that will be executed on the server? I'm writing an application that connects to the server through ODBC and libpq. For some reason ODBC interface is failing - it desn't return any rows So I'm thinking if I have a proof that the query I am actually executing is

Re: odbc_config missing

2022-07-21 Thread Igor Korot
But enough this flame war. I will probably bake somethig that will identify the presence of odbc_config and put it in the configure.ac/configure... Thank you. On Fri, Jul 22, 2022 at 12:59 AM Igor Korot wrote: > > Hi > > On Fri, Jul 22, 2022 at 12:13 AM wrote: > > > >

Re: odbc_config missing

2022-07-21 Thread Igor Korot
Hi On Fri, Jul 22, 2022 at 12:13 AM wrote: > > On Fri, Jul 22, 2022 at 12:03:46AM -0500, Igor Korot wrote: > > Hi, > > > > On Thu, Jul 21, 2022 at 10:57 PM wrote: > > > > > > On Thu, Jul 21, 2022 at 11:47:58AM -0500, Igor Korot wrote: > > > >

Re: odbc_config missing

2022-07-21 Thread Igor Korot
Hi, On Thu, Jul 21, 2022 at 10:57 PM wrote: > > On Thu, Jul 21, 2022 at 11:47:58AM -0500, Igor Korot wrote: > > [...] > > > It still feels wrong however, that the distro maintainers dictate > > to upstream packages how to do their business. > > which is...

Re: odbc_config missing

2022-07-21 Thread Igor Korot
Hi, On Thu, Jul 21, 2022 at 10:31 AM David Wright wrote: > > On Thu 21 Jul 2022 at 10:15:43 (-0400), Greg Wooledge wrote: > > On Thu, Jul 21, 2022 at 09:06:53AM -0500, David Wright wrote: > > > I thought that was what the attached was (actually for Ubuntu AIUI). > > > As I originally wrote, "As i

Re: odbc_config missing

2022-07-21 Thread Igor Korot
Hi, On Thu, Jul 21, 2022 at 10:31 AM David Wright wrote: > > On Thu 21 Jul 2022 at 10:15:43 (-0400), Greg Wooledge wrote: > > On Thu, Jul 21, 2022 at 09:06:53AM -0500, David Wright wrote: > > > I thought that was what the attached was (actually for Ubuntu AIUI). > > > As I originally wrote, "As i

Re: odbc_config missing

2022-07-21 Thread Igor Korot
Again, this really needs to be taken up with the upstream maintainers of > the library, and with the Debian maintainer(s) of the Debian packages of > the library. I agree. When asked Nick Gorham (the official maintainer of unixODBC) how to identify the options in the host software for unixOD

Re: odbc_config missing

2022-07-20 Thread Igor Korot
Hi, On Wed, Jul 20, 2022 at 9:32 PM Greg Wooledge wrote: > > On Wed, Jul 20, 2022 at 09:12:51PM -0500, Igor Korot wrote: > > And those are what was made on Debian with the same Makefile.am: > > OK! > > [...] > > /bin/bash ../libtool --tag=CXX --mode=link g++ -I.

Re: odbc_config missing

2022-07-20 Thread Igor Korot
Hi, On Wed, Jul 20, 2022 at 7:55 PM Greg Wooledge wrote: > > On Wed, Jul 20, 2022 at 07:46:43PM -0500, Igor Korot wrote: > > On Wed, Jul 20, 2022 at 7:28 PM Greg Wooledge wrote: > > > Can you show us the linker command that you ran, and its error message? > > > &

Re: odbc_config missing

2022-07-20 Thread Igor Korot
.a libtool: link: ( cd ".libs" && rm -f "libodbc_lib.la" && ln -s "../libodbc_lib.la" "libodbc_lib.la" ) igor@debian:~/dbhandler/Debug/libodbc$ As you can see the build succeeded. But after running "make install" trying to load that li

Re: odbc_config missing

2022-07-20 Thread Igor Korot
Hi, On Wed, Jul 20, 2022 at 7:28 PM Greg Wooledge wrote: > > On Wed, Jul 20, 2022 at 07:05:28PM -0500, Igor Korot wrote: > > Please compare: > > > > In Gentoo: > > > > [code] > > igor@IgorReinCloud ~ $ odbc_config --libs > > -L/usr/lib64 -lodbc &

Re: odbc_config missing

2022-07-20 Thread Igor Korot
test it it will fail because ldd will not be able to find the library. Thank you. On Wed, Jul 20, 2022 at 5:28 PM David Wright wrote: > > On Wed 20 Jul 2022 at 14:33:39 (-0500), Igor Korot wrote: > > On Wed, Jul 20, 2022 at 2:04 PM Greg Wooledge wrote: > > > On Wed, Jul 20, 202

Re: odbc_config missing

2022-07-20 Thread Igor Korot
Hi, On Wed, Jul 20, 2022 at 2:24 PM Reco wrote: > > On Wed, Jul 20, 2022 at 12:41:03PM -0500, Igor Korot wrote: > > Hi, > > > > On Wed, Jul 20, 2022 at 12:09 PM Reco wrote: > > > > > > Hi. > > > > > > On Wed, Jul 20, 2022 a

Re: odbc_config missing

2022-07-20 Thread Igor Korot
Hi, On Wed, Jul 20, 2022 at 2:04 PM Greg Wooledge wrote: > > On Wed, Jul 20, 2022 at 01:48:34PM -0500, Igor Korot wrote: > > This sentence from the OP: > > > > [quote] > > I just tried to compile my program and got an error about it. > > [/quote] >

Re: odbc_config missing

2022-07-20 Thread Igor Korot
Hi, David, On Wed, Jul 20, 2022 at 1:40 PM David Wright wrote: > > On Wed 20 Jul 2022 at 12:41:03 (-0500), Igor Korot wrote: > > On Wed, Jul 20, 2022 at 12:09 PM Reco wrote: > > > On Wed, Jul 20, 2022 at 10:40:45AM -0500, Igor Korot wrote: > > > > I tried

Re: odbc_config missing

2022-07-20 Thread Igor Korot
Hi, On Wed, Jul 20, 2022 at 12:09 PM Reco wrote: > > Hi. > > On Wed, Jul 20, 2022 at 10:40:45AM -0500, Igor Korot wrote: > > I tried to run > > > > pkg-config --libs unixodbc > > > > and it fails. > > apt install unixodbc-dev It is in

Re: odbc_config missing

2022-07-20 Thread Igor Korot
Hi, On Wed, Jul 20, 2022 at 10:13 AM Curt wrote: > > On 2022-07-20, Igor Korot wrote: > > > > Apparently it IS a known problem > > > > This - https://bugs.launchpad.net/ubuntu/+source/unixodbc/+bug/551701 - > > claims > > Ubuntu installs it and wa

Re: odbc_config missing

2022-07-20 Thread Igor Korot
Hi, On Tue, Jul 19, 2022, 10:18 PM David Wright wrote: > On Tue 19 Jul 2022 at 21:47:06 (-0500), Igor Korot wrote: > > > According to unixODBC maintainers, there is a script called odbc_config. > > > > It looks like this script is missing in Debian. > > > >

odbc_config missing

2022-07-19 Thread Igor Korot
Hi, ALL According to unixODBC maintainers, there is a script called odbc_config. It looks like this script is missing in Debian. I just tried to compile my program and got an error about it. How should I handle it? Thank you.

Re: Getting the table ID

2022-07-19 Thread Igor Korot
Hi, guys, On Tue, Jul 19, 2022 at 4:42 AM Walter Dörwald wrote: > > On 19 Jul 2022, at 5:10, Igor Korot wrote: > > Hi, guys, > > In the database theory each table is identified as "schema_name"."table_name". > > When I tried to look at how to get the

Getting the table ID

2022-07-18 Thread Igor Korot
Hi, guys, In the database theory each table is identified as "schema_name"."table_name". When I tried to look at how to get the table id inside the PostgreSQL, I saw that I needed to look at the pg_class table. SELECT oid FROM pg_class WHERE relname = "table_name"; However that query will give

Re: Resolve static linking

2022-07-12 Thread Igor Korot
[//code]Hi, On Tue, Jul 12, 2022 at 10:10 PM David Wright wrote: > > On Tue 12 Jul 2022 at 21:48:08 (-0500), Igor Korot wrote: > > > igor@debian:~/dbhandler/Debug$ ls -la /usr/local/lib/ > > [ … ] > > drwxr-xr-x 3 root root 4096 Jul 9 16:52 python3.9 > >

Resolve static linking

2022-07-12 Thread Igor Korot
.Hi, ALL, [code] igor@debian:~/dbhandler/Debug$ ls -la /usr/local/lib/ total 156544 drwxr-xr-x 3 root root 4096 Jul 12 19:55 . drwxr-xr-x 10 root root 4096 Jul 9 15:42 .. -rw-r--r-- 1 root root8 Jul 12 19:52 libdbinterface.a -rw-r--r-- 1 root root 1082702 Jul 12 19:53 libdbloa

Where is ldconfig

2022-07-12 Thread Igor Korot
Hi, In order to test my program I ran "make install". This installed it into "/usr/local/{bin,lib} So now in order to run the program I need to update the ld library cache with "ldconfig". Unfortunately it is not available by default and trying to search for it produces following: [code] root@d

Re: Get the table creation DDL

2022-07-11 Thread Igor Korot
Hi, On Mon, Jul 11, 2022 at 7:56 AM Rob Sargent wrote: > > On 7/11/22 06:31, Mladen Gogala wrote: > > On 7/10/22 22:52, Rob Sargent wrote: > >> Are you alone or on a team? No, this is my personal project. Thank you. > > > > What are your pronouns? > > > This did make me chuckle, but no I am ju

Re: Does Debian supports backticks in the Makefile?

2022-07-11 Thread Igor Korot
Hi, All this can now be put to rest. Gentoo is at fault and I am going to talk to Gentoo people Thank you to everyone who helped. Thank you. On Mon, Jul 11, 2022 at 12:23 PM wrote: > > On Mon, Jul 11, 2022 at 08:50:47AM -0500, Igor Korot wrote: > > And hi i Debian afe fiing he

Re: Does Debian supports backticks in the Makefile?

2022-07-11 Thread Igor Korot
code]And this is also Gentoo: [code] igor@IgorReinCloud ~/dbhandler/Debug/libpostgres $ pg_config --includedir /usr/include/postgresql-14 igor@IgorReinCloud ~/dbhandler/Debug/libpostgres $ [/code] No "-I" involved. Thank you. On Mon, Jul 11, 2022 at 8:57 AM Thomas Schmitt wrote: > > Hi, > > Gr

Re: Does Debian supports backticks in the Makefile?

2022-07-11 Thread Igor Korot
And hi i Debian afe fiing he innclde line: [code] igor@debian:~/dbhandler/Debug/libpostgres$ make clean && make V=1 test -z "libpostgres.la" || rm -f libpostgres.la rm -f ./so_locations rm -rf .libs _libs rm -f *.o rm -f *.lo /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I

Re: Does Debian supports backticks in the Makefile?

2022-07-11 Thread Igor Korot
Hi guys, This is what Gentoo generates: [code] igor@IgorReinCloud ~/dbhandler/Debug/libpostgres $ make clean && make V=1 test -z "libpostgres.la" || rm -f libpostgres.la rm -f ./so_locations rm -rf .libs _libs rm -f *.o rm -f *.lo /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H

Re: Does Debian supports backticks in the Makefile?

2022-07-10 Thread Igor Korot
Hi, On Mon, Jul 11, 2022 at 12:10 AM wrote: > > On Sun, Jul 10, 2022 at 11:13:45PM -0500, Igor Korot wrote: > > Hi, ALL, > > [code] > > CXX libpostgres_la-database_postgres.lo > > ../../libpostgres/database_postgres.cpp:22:10: fatal error: > > l

Does Debian supports backticks in the Makefile?

2022-07-10 Thread Igor Korot
Hi, ALL, [code] CXX libpostgres_la-database_postgres.lo ../../libpostgres/database_postgres.cpp:22:10: fatal error: libpq-fe.h: No such file or directory 22 | #include "libpq-fe.h" | ^~~~ compilation terminated. make: *** [Makefile:507: libpostgres_la-database_postg

Re: Get the table creation DDL

2022-07-10 Thread Igor Korot
Hi, On Sun, Jul 10, 2022 at 8:14 PM Mladen Gogala wrote: > > On 7/10/22 21:13, Igor Korot wrote: > > How should I do that? > > Thank you. > > Oh boy! I give up. Does he mean I need to make it as a GitHub module? Can I even do that given that you use GitLab and my proj

Re: Get the table creation DDL

2022-07-10 Thread Igor Korot
Hi, On Sun, Jul 10, 2022 at 8:09 PM Rob Sargent wrote: > > > > > On Jul 10, 2022, at 6:16 PM, Igor Korot wrote: > > > > Hi, > > > >> On Sun, Jul 10, 2022 at 7:02 PM Mladen Gogala > >> wrote: > >> > >> On 7/10/22 17:00, Igor

Re: libpq-dev package

2022-07-10 Thread Igor Korot
Hi, On Sun, Jul 10, 2022 at 7:28 PM Andy Smith wrote: > > Hello, > > On Sun, Jul 10, 2022 at 07:19:08PM -0500, Igor Korot wrote: > > Trying to compile my program it fails by not finding the > > pg-config script and libpq-fe.h file. > > You were already shown apt-fi

Re: libpq-dev package

2022-07-10 Thread Igor Korot
Apparently the package name is exactly libpq-dev. ;-) Naming convention sucks sometimes... ;-) However even after installing it I still can't compile. Same exact error is given. Thank you. On Sun, Jul 10, 2022 at 7:19 PM Igor Korot wrote: > > Hi, > I figured out that the li

libpq-dev package

2022-07-10 Thread Igor Korot
Hi, I figured out that the libpq package is called postgresql-client. However it looks like there is no postgresql-client-dev package? Trying to compile my program it fails by not finding the pg-config script and libpq-fe.h file. Thank you.

Re: Get the table creation DDL

2022-07-10 Thread Igor Korot
Hi, On Sun, Jul 10, 2022 at 7:02 PM Mladen Gogala wrote: > > On 7/10/22 17:00, Igor Korot wrote: > > I understand. > The Problem is that I need to put this inside the C/ODBC interface for > my project. > > I'm sure it is not a problem when people are working out of p

Re: What package I can find aclocal in?

2022-07-10 Thread Igor Korot
Hi, On Sun, Jul 10, 2022 at 6:33 PM Andy Smith wrote: > > Hello, > > On Sun, Jul 10, 2022 at 06:24:16PM -0500, Igor Korot wrote: > > Trying to guess I found the package autotools-dev, but that was not it. > > > > Should I keep it? > > I don't know. Perhap

Re: What package I can find aclocal in?

2022-07-10 Thread Igor Korot
Hi, Thank you for the info. On Sun, Jul 10, 2022 at 6:17 PM Andy Smith wrote: > > Hello, > > On Sun, Jul 10, 2022 at 05:43:33PM -0500, Igor Korot wrote: > > What package can I find aclocal in? > > $ apt-file search bin/aclocal > automake: /usr/bin/aclocal-1.16 >

Re: What package I can find aclocal in?

2022-07-10 Thread Igor Korot
Hi, On Sun, Jul 10, 2022 at 6:10 PM Greg Wooledge wrote: > > On Sun, Jul 10, 2022 at 05:43:33PM -0500, Igor Korot wrote: > > What package can I find aclocal in? > > I need to set up my autotools project in the newly installed Debian.. > > How to find out what package

What package I can find aclocal in?

2022-07-10 Thread Igor Korot
Hi, What package can I find aclocal in? I need to set up my autotools project in the newly installed Debian.. Thank you.

Re: Get the table creation DDL

2022-07-10 Thread Igor Korot
Hi, On Sun, Jul 10, 2022 at 2:27 PM Mladen Gogala wrote: > > On 7/10/22 12:47, Igor Korot wrote: > > So there is no "query" per se? > Also how do I pass the table name? > > Thank you. > > You can create one from the catalog tables. Personally, I would use &

Re: Get the table creation DDL

2022-07-10 Thread Igor Korot
Hi, On Sun, Jul 10, 2022 at 12:47 PM Ray O'Donnell wrote: > > On 10/07/2022 17:47, Igor Korot wrote: > > Hi, Michael, > > > > On Sun, Jul 10, 2022 at 11:13 AM Michael Nolan wrote: > >> > >> > >> > >> On Sun, Jul 10, 2022 at 10:

Re: Get the table creation DDL

2022-07-10 Thread Igor Korot
Hi, On Sun, Jul 10, 2022 at 11:47 AM Igor Korot wrote: > > Hi, Michael, > > On Sun, Jul 10, 2022 at 11:13 AM Michael Nolan wrote: > > > > > > > > On Sun, Jul 10, 2022 at 10:28 AM Igor Korot wrote: > >> > >> Hi, > >> Is there

  1   2   3   4   5   6   7   8   9   10   >