Re: Questions on dynamic execution and sqlca

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: David Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Questions on dynamic execution and sqlca
Date: 2014-08-07 07:37:20
Message-ID: CAECtzeWDz1RBfzQbb7KUyrLVrXuAGOuPUkyoGUF9x3+HGT1CNQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2014-08-07 7:24 GMT+02:00 David Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>:

>
>> > > - What are the differences among PL/SQL, PL/PGSQL and pgScript.
>> >
>> > The first two are languages you write functions in. pgScript is simply
>> an
>> > informal way to group a series of statements together and have them
>> execute
>> > within a transaction.
>> >
>>
>> AFAICT, this isn't true. Pgscript is a client specific language. There is
>> a whole description of what it can do in pgadmin's manual. This was
>> interesting when PostgreSQL didn't have the DO statement. Now that we do,
>> it's rather pointless.
>>
>>
>>
> ​Yeah, I probably should have either researched the answer or just left it
> alone. I am not all that familiar with pgAdmin - I figured it was just a
> souped up script runner with maybe a couple of features like variables but
> otherwise allowing only SQL commands.
>
>
No problem :)

pgscript reference is available on
http://pgadmin.org/docs/1.18/pgscript.html.

Note that pgScript isn't specific to pgAdmin, AFAIK.

--
Guillaume.
http://blog.guillaume.lelarge.info
http://www.dalibo.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jorge Arevalo 2014-08-07 08:39:47 Re: Connecting with PostgreSQL 9.1 using the Ubuntu machine user and peer authentication method
Previous Message Gaurav Tiwari G 2014-08-07 06:29:28 Re: Adding 3 hours while inserting data into table