Thread: gawk extension linux missing stuff in package manager fedora 36

gawk extension linux missing stuff in package manager fedora 36

From
Jim McNamara
Date:
Hi guys-

I forgot to put a subject and then when I went to correct it failed to put a subject yet again. Sorry about that.

I installed gawk postgresql extension with my fedora package manager. I'd like to use create extension.

The package doesn't contain the sql or control file in /usr/share/pgsql/extensions. It did install .so files though. I ran sudo dnf repoquery -l package name and looked at the files.
I can't seem to install the extension. I also took a gander at the .tar.gz file and didn't see an .sql file or control file either. 

 Is there any way I can get a little help?

I'd love to use gawk with postgresql. I think it is the coolest idea.

thanks for your help,
jim

Re: gawk extension linux missing stuff in package manager fedora 36

From
"Daniel Verite"
Date:
    Jim McNamara wrote:

> The package doesn't contain the sql or control file in
> /usr/share/pgsql/extensions. It did install .so files though. I ran sudo
> dnf repoquery -l package name and looked at the files.

It's probably this library:
http://gawkextlib.sourceforge.net/pgsql/gawk-pgsql.html

Quote:
  This API can be used by either invoking gawk with a command-line
  argument of -l pgsql or by inserting @load "pgsql" in your script.

It's not a PostgreSQL server-side extension. It's a client-side
gawk plugin to query a postgres database from inside a gawk
script.



Best regards,
--
Daniel Vérité
https://postgresql.verite.pro/
Twitter: @DanielVerite