Re: Passing a dynamic interval to generate_series()

2024-06-30 Thread Igal Sapir
On Sun, Jun 30, 2024 at 3:51 PM Tom Lane wrote: > Igal Sapir writes: > > But this throws an error (SQL Error [42601]: ERROR: syntax error at or > near > > "'1 '"): > > > SELECT generate_series( > > date_trunc('month', curren

Passing a dynamic interval to generate_series()

2024-06-30 Thread Igal Sapir
;month', current_date), date_trunc('month', current_date + interval '7 month'), (interval '1 ' || 'month')::interval ) Because this returns an interval of 1 second: SELECT (interval '1 ' || 'month')::interval; Is that a bug? I am able to work around the issue using a CASE statement, but shouldn't it work simply by concatenating the string with the || operator? Thank you, Igal

Re: Case Insensitive Comparison with Postgres 12

2019-10-11 Thread Igal Sapir
On Fri, Oct 11, 2019 at 1:09 AM stan wrote: > On Thu, Oct 10, 2019 at 05:41:47AM -0700, Igal @ Lucee.org wrote: > > On 10/9/2019 12:34 AM, Laurenz Albe wrote: > > > Igal Sapir wrote: > > > > I am trying to test a simple case insensitive comparison. Most > li

Re: Case Insensitive Comparison with Postgres 12

2019-10-10 Thread Igal @ Lucee.org
Thomas, On 10/10/2019 6:22 AM, Thomas Kellerer wrote: Igal @ Lucee.org schrieb am 10.10.2019 um 14:41: Thank you all for replying. I tried to use the locale suggested by both Laurenz and Pavel, en-US-u-ks-level2, but I'm still getting false for a simple comparison of 'Abc' =

Re: Case Insensitive Comparison with Postgres 12

2019-10-10 Thread Igal @ Lucee.org
On 10/9/2019 12:34 AM, Laurenz Albe wrote: Igal Sapir wrote: I am trying to test a simple case insensitive comparison. Most likely the collation that I chose is wrong, but I'm not sure how to choose the correct one (for English/US?). Here is my snippet: create collation case_insens

Case Insensitive Comparison with Postgres 12

2019-10-08 Thread Igal Sapir
rministic=false ); select 'Abc' = 'abc' collate case_insensitive; I expected true but am getting false. Any thoughts? Thanks, Igal

Re: database files are incompatible with server

2019-08-22 Thread Igal @ Lucee.org
On 8/22/2019 9:15 PM, Tom Lane wrote: Adrian Klaver writes: On 8/22/19 4:52 PM, Igal @ Lucee.org wrote: How can I start up the Cluster? Is version 201906161 beta 2? Yes: https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/include/catalog/catversion.h;h

Re: database files are incompatible with server

2019-08-22 Thread Igal @ Lucee.org
On 8/22/2019 5:08 PM, Adrian Klaver wrote: On 8/22/19 4:52 PM, Igal @ Lucee.org wrote: I have a data directory that was created by Postgres 12 (I thought beta 3 but now am not sure anymore) running in Docker. I have installed Postgres 12b3 as a Systemd service and am trying to set the

Re: database files are incompatible with server

2019-08-22 Thread Igal @ Lucee.org
Adrian, On 8/22/2019 5:08 PM, Adrian Klaver wrote: On 8/22/19 4:52 PM, Igal @ Lucee.org wrote: I have a data directory that was created by Postgres 12 (I thought beta 3 but now am not sure anymore) running in Docker. I have installed Postgres 12b3 as a Systemd service and am trying to set

database files are incompatible with server

2019-08-22 Thread Igal @ Lucee.org
r was compiled with CATALOG_VERSION_NO 201907221. How can I start up the Cluster? Is version 201906161 beta 2? Would running PG12 beta 2 work? Would running initdb destroy the data? Thank you, Igal Sapir Lucee Core Developer Lucee.org <http://lucee.org/>

Re: How to install Postgres 12 beta with YUM

2019-08-22 Thread Igal @ Lucee.org
86_64.rpm # yum install https://download.postgresql.org/pub/repos/yum/testing/12/redhat/rhel-7.6-x86_64/postgresql12-server-12beta3-1PGDG.rhel7.x86_64.rpm Thanks for your help, Igal

Re: How to install Postgres 12 beta with YUM

2019-08-22 Thread Igal @ Lucee.org
Adrian, On 8/22/2019 12:22 PM, Adrian Klaver wrote: On 8/22/19 11:29 AM, Igal @ Lucee.org wrote: I have installed the CentOS 7 PGDG file from https://yum.postgresql.org/repopackages.php If I `cat /etc/yum.repos.d/pgdg-redhat-all.repo` I see: # PGDG Red Hat Enterprise Linux / CentOS

How to install Postgres 12 beta with YUM

2019-08-22 Thread Igal @ Lucee.org
Any ideas? Thanks, Igal Sapir Lucee Core Developer Lucee.org <http://lucee.org/>

How to install Postgres 12 beta with YUM

2019-08-22 Thread Igal @ Lucee.org
Any ideas? Thanks, Igal Sapir Lucee Core Developer Lucee.org <http://lucee.org/>

Re: How to check if a field exists in NEW in trigger

2019-08-07 Thread Igal @ Lucee.org
x27;s more performant too. Best, Igal

How to check if a field exists in NEW in trigger

2019-08-04 Thread Igal @ Lucee.org
ower(new.email)" PL/pgSQL function on_record_modified() line 26 at assignment I have seen some hacks suggesting TRY/CATCH or converting to a JSON and checking if the field exists, but I would think that there's a better way to check if the field is in the NEW record, no? Any ideas?  Thank

Re: DDL and DML in a transaction

2019-07-31 Thread Igal @ Lucee.org
Thank you, David. I should get more sleep... Igal On 7/31/2019 11:52 AM, David G. Johnston wrote: On Wed, Jul 31, 2019 at 11:38 AM Igal @ Lucee.org <mailto:i...@lucee.org>> wrote:      alter table some_table     rename column amount_num to amount_text; al

DDL and DML in a transaction

2019-07-31 Thread Igal @ Lucee.org
the column? Thanks, Igal

Re: pg_dump and search_path

2019-07-09 Thread Igal @ Lucee.org
On 7/9/2019 10:45 AM, Adrian Klaver wrote: On 7/9/19 7:41 AM, Igal @ Lucee.org wrote: On 7/9/2019 7:02 AM, Adrian Klaver wrote: On 7/8/19 11:48 PM, Igal @ Lucee.org wrote: I have a custom search_path: # show search_path;     search_path --   "st

Re: pg_dump and search_path

2019-07-09 Thread Igal @ Lucee.org
David, On 7/9/2019 7:49 AM, David G. Johnston wrote: On Tue, Jul 9, 2019 at 7:41 AM Igal @ Lucee.org <mailto:i...@lucee.org>> wrote: search_path is not set int he config, but rather with ALTER DATABASE SET search_path TO ... but I have executed that prior to the RESTORE

Re: pg_dump and search_path

2019-07-09 Thread Igal @ Lucee.org
On 7/9/2019 7:02 AM, Adrian Klaver wrote: On 7/8/19 11:48 PM, Igal @ Lucee.org wrote: I have a custom search_path: # show search_path;     search_path --   "staging, transient, pg_catalog" (1 row) I ran `pg_dump --schema-only` and the only re

Re: pg_dump and search_path

2019-07-08 Thread Igal @ Lucee.org
On 7/8/2019 11:48 PM, Igal @ Lucee.org wrote: I have a custom search_path: # show search_path;    search_path --  "staging, transient, pg_catalog" (1 row) I ran `pg_dump --schema-only` and the only reference in the output to search_path is:

pg_dump and search_path

2019-07-08 Thread Igal @ Lucee.org
ath', '', false); Then one of my functions which does not reference the full name of a table with its schema fails with "relation [rel-name] does not exist". Is that a bug?  I have seen some old posts about this issue but am not sure if there is a ticket or why it still

Re: Trigger function does not modify the NEW value

2019-06-28 Thread Igal @ Lucee.org
On 6/28/2019 8:07 PM, David Rowley wrote: On Sat, 29 Jun 2019 at 14:54, Igal @ Lucee.org wrote: create trigger tr_on_table_modified after insert or delete or update on some_table for each row execute procedure on_table_modified(); I can see in the output the notices with the

Trigger function does not modify the NEW value

2019-06-28 Thread Igal @ Lucee.org
gt; --| > i...@lucee.org| Any ideas? Thanks, Igal Sapir Lucee Core Developer Lucee.org <http://lucee.org/>

Re: Function Volatility Stable vs Immutable

2019-06-24 Thread Igal @ Lucee.org
On 6/24/2019 7:38 PM, David G. Johnston wrote: On Mon, Jun 24, 2019 at 7:31 PM Igal @ Lucee.org <mailto:i...@lucee.org>> wrote: If a function select data from a table, and the rows in the table may change, would that function qualify for Immutable or does it have to be

Function Volatility Stable vs Immutable

2019-06-24 Thread Igal @ Lucee.org
e results given the same arguments forever". So for the same arguments, the result would change only if the data in the table changes.  Does that mean that it violates the "forever" clause and therefore can be only marked as Stable and not Immutable? Thanks, Igal

Re: Featured Big Name Users of Postgres

2019-06-11 Thread Igal Sapir
On Tue, Jun 11, 2019 at 2:11 PM Chris Travers wrote: > At Adjust GmbH we have 5-10 PB data in Postgres. > > > On Tue, Jun 11, 2019 at 9:28 PM Ireneusz Pluta/wp.pl wrote: > >> W dniu 2019-06-11 o 19:45, Igal Sapir pisze: >> > I'm doing a presentation abou

Featured Big Name Users of Postgres

2019-06-11 Thread Igal Sapir
I'm doing a presentation about Postgres to SQL Server users this weekend, and I want to showcase some of the big names that use Postgres, e.g. MasterCard, Government agencies, Banks, etc. There used to be a Wiki page of Featured Users but that link is broken now. I also "found" a page about Maste

Re: Postgres for SQL Server users

2019-05-08 Thread Igal Sapir
- FOSS or not - > can provide. I have had limited exposure to Oracle, SQL Server, Sybase, > Empress, Teradata, Netezza, DB2, Sqlite/Spatialite, Interbase & Informix. > Of these, Postgres & Sqlite3 (which one depends on use cases) are all I use > these days. > Yep. agreed. Th

Re: Postgres for SQL Server users

2019-05-06 Thread Igal Sapir
l than SQL Server. I found > installing the GIS featureset in SS to be a bit of a pain back oin the > day.. > GIS is a good feature but it's a niche feature, so while I'll mention it with extensions I am looking for more general-purpose comparisons and areas where Postgres is as-good or better than SQL Server. Thanks, Igal

Re: Postgres for SQL Server users

2019-05-06 Thread Igal Sapir
Ron, On Mon, May 6, 2019 at 12:54 PM Ron wrote: > On 5/6/19 2:47 PM, Igal Sapir wrote: > > but I want to instill confidence in them that anything they do with SQL > > Server can be done with Postgres. > > Right off the top of my head, here are some things you can't (

Re: Postgres for SQL Server users

2019-05-06 Thread Igal Sapir
Brent, On Mon, May 6, 2019 at 1:44 PM Brent Wood wrote: > Hi Igal, > > One relevant comment I found interesting a couple of years ago... > > A New Zealand Govt agency was installing an institutional GIS system > (several thousand potential users). It supported differen

Re: Postgres for SQL Server users

2019-05-06 Thread Igal Sapir
, scalability, etc. I want to get them interested in giving Postgres a try instead of SQL Server. Surely the savings on licenses can be substantial (I have no idea how much, TBH), but I want to instill confidence in them that anything they do with SQL Server can be done with Postgres. Igal

Postgres for SQL Server users

2019-05-06 Thread Igal Sapir
Next month I'll be making a presentation about Postgres to a SQL Server crowd in L.A. at their SQL Saturday event. I was wondering if anyone has any tips that are specific for SQL Server users? Best features? Known issues? Common rebuttals? Thanks, Igal

Re: Connecting to NOTIFY with telnet

2019-05-04 Thread Igal Sapir
Jeff, On Sat, May 4, 2019 at 2:10 PM Jeff Janes wrote: > On Sat, May 4, 2019 at 3:04 PM Igal Sapir wrote: > >> Jeff, >> >> On Sat, May 4, 2019 at 11:34 AM Jeff Janes wrote: >> >>> On Sat, May 4, 2019 at 1:49 PM Igal Sapir wrote: >>> >>&g

Re: Connecting to NOTIFY with telnet

2019-05-04 Thread Igal Sapir
Jeff, On Sat, May 4, 2019 at 11:34 AM Jeff Janes wrote: > On Sat, May 4, 2019 at 1:49 PM Igal Sapir wrote: > >> Christoph, >> >> On Sat, May 4, 2019 at 10:44 AM Christoph Moench-Tegeder < >> c...@burggraben.net> wrote: >> >>> ## Igal Sapir

Re: Connecting to NOTIFY with telnet

2019-05-04 Thread Igal Sapir
Christoph, On Sat, May 4, 2019 at 10:44 AM Christoph Moench-Tegeder wrote: > ## Igal Sapir (i...@lucee.org): > > > My main "issue" is that the official pgjdbc driver does not support the > > notifications with listen and I was trying to figure out why. >

Re: Connecting to NOTIFY with telnet

2019-05-04 Thread Igal Sapir
Thank you both (Michel replied off-list it seems), On Fri, May 3, 2019 at 1:10 PM Andres Freund wrote: > Hi, > > On 2019-05-03 11:06:09 -0700, Igal Sapir wrote: > > Is it possible to connect to Postgres for notifications via telnet? This > > is obviously more for l

Connecting to NOTIFY with telnet

2019-05-03 Thread Igal Sapir
Is it possible to connect to Postgres for notifications via telnet? This is obviously more for learning/experimenting purposes. I expected a simple way to connect and consume notifications but can not find any example or documentation on how to do that. Any ideas? Thanks, Igal

Re: Starting Postgres when there is no disk space

2019-05-03 Thread Igal Sapir
r-- 1 root root 640M May 3 12:42 e76fc603ffe2c977c826.tmp -rw-r--r-- 1 root root 640M May 3 12:42 fed72361b202f9492d7f.tmp Best, Igal On Fri, May 3, 2019 at 9:09 AM Igal Sapir wrote: > Jeff, > > On Fri, May 3, 2019 at 6:56 AM Jeff Janes wrote: > >> On Wed, May 1, 2019 at 10:25

Re: Starting Postgres when there is no disk space

2019-05-03 Thread Igal Sapir
Jeff, On Fri, May 3, 2019 at 6:56 AM Jeff Janes wrote: > On Wed, May 1, 2019 at 10:25 PM Igal Sapir wrote: > >> >> I have a scheduled process that runs daily to delete old data and do full >> vacuum. Not sure why this happened (again). >> > > If you are

Re: Starting Postgres when there is no disk space

2019-05-02 Thread Igal Sapir
TimeScaleDB. Thank you for your help, Igal On Wed, May 1, 2019 at 11:08 PM Michael Nolan wrote: > > > Assuming you get the database back online, I would suggest you put a > procedure in place to monitor disk space and alert you when it starts to > get low. > -- > Mike Nolan >

Re: Starting Postgres when there is no disk space

2019-05-01 Thread Igal Sapir
make more room. I have a scheduled process that runs daily to delete old data and do full vacuum. Not sure why this happened (again). Thanks, Igal On Wed, May 1, 2019 at 6:02 PM Michael Loftis wrote: > Best optionCopy/move the entire pgdata to a larger space. It may also > be eno

Starting Postgres when there is no disk space

2019-05-01 Thread Igal Sapir
maybe run Postgres and disable the WAL so that no new disk space will be required. Surely, I'm not the first one to experience this issue. How can I fix this? Thank you, Igal [1] root@ff818ff7550a:/# du -h --max-depth=1 /pgdata 625M/pgdata/pg_wal 608K/pgdata/global 0 /pgdata

Re: Unable to Vacuum Large Defragmented Table

2019-04-09 Thread Igal Sapir
Pavel, On Mon, Apr 8, 2019 at 8:29 AM Pavel Stehule wrote: > > > po 8. 4. 2019 v 17:22 odesílatel Igal Sapir napsal: > >> Pavel, >> >> On Sun, Apr 7, 2019 at 11:22 PM Pavel Stehule >> wrote: >> >>> >>> po 8. 4. 2019 v 7:57 odesílatel

Re: Unable to Vacuum Large Defragmented Table

2019-04-08 Thread Igal Sapir
Pavel, On Sun, Apr 7, 2019 at 11:22 PM Pavel Stehule wrote: > > po 8. 4. 2019 v 7:57 odesílatel Igal Sapir napsal: > >> David, >> >> On Sun, Apr 7, 2019 at 8:11 PM David Rowley >> wrote: >> >>> On Mon, 8 Apr 2019 at 14:57, Igal Sapir wrote: >

Re: Unable to Vacuum Large Defragmented Table

2019-04-07 Thread Igal Sapir
David, On Sun, Apr 7, 2019 at 8:11 PM David Rowley wrote: > On Mon, 8 Apr 2019 at 14:57, Igal Sapir wrote: > > However, I have now deleted about 50,000 rows more and the table has > only 119,688 rows. The pg_relation_size() still shows 31MB and > pg_total_relation_size() s

Re: Unable to Vacuum Large Defragmented Table

2019-04-07 Thread Igal Sapir
David, On Sun, Apr 7, 2019 at 7:28 PM David Rowley wrote: > On Mon, 8 Apr 2019 at 14:19, Igal Sapir wrote: > > > > On Sun, Apr 7, 2019 at 6:20 PM David Rowley < > david.row...@2ndquadrant.com> wrote: > >> > >> On Mon, 8 Apr 2019 at 10:09, Igal Sapi

Re: Unable to Vacuum Large Defragmented Table

2019-04-07 Thread Igal Sapir
David, On Sun, Apr 7, 2019 at 6:20 PM David Rowley wrote: > On Mon, 8 Apr 2019 at 10:09, Igal Sapir wrote: > > > > I have a table for which pg_relation_size() shows only 31MB, but > pg_total_relation_size() shows a whopping 84GB. > > > > The database engine is run

Unable to Vacuum Large Defragmented Table

2019-04-07 Thread Igal Sapir
usage goes up until it reaches the full capacity of the partition (about 27GB of free space), at which point it fails. How can I reclaim the disk space here other than write the data to a new table and drop the old one? Thank you, Igal

Re: How to tell which event was fired in Trigger function

2018-07-11 Thread Igal @ Lucee.org
On 7/11/2018 11:02 AM, David G. Johnston wrote: On Wed, Jul 11, 2018 at 10:54 AM, Igal @ Lucee.org <mailto:i...@lucee.org>>wrote: On 7/11/2018 10:38 AM, Adrian Klaver wrote: On 07/11/2018 10:36 AM, Igal @ Lucee.org wrote: How can I tell inside the trigger fu

Re: How to tell which event was fired in Trigger function

2018-07-11 Thread Igal @ Lucee.org
On 7/11/2018 10:38 AM, Adrian Klaver wrote: On 07/11/2018 10:36 AM, Igal @ Lucee.org wrote: How can I tell inside the trigger function if the event was DELETE or INSERT/UPDATE? https://www.postgresql.org/docs/10/static/plpgsql-trigger.html This looks like it have all of the information that

How to tell which event was fired in Trigger function

2018-07-11 Thread Igal @ Lucee.org
thinking that maybe a DELETE will have a NULL value in NEW.id?  Will that work?  Is there a better way? Thanks, Igal Sapir Lucee Core Developer Lucee.org <http://lucee.org/>

Re: momjian.us is down?

2018-03-04 Thread Igal
On 03/04/2018 09:57 PM, Tom Lane wrote: Igal writes: On 03/04/2018 07:24 PM, Adrian Klaver wrote: On 03/04/2018 05:53 PM, Igal wrote: I am trying to connect to http://momjian.us/ but I get connection timeout (from Firefox): Dunno if it's related, but large parts of the US Northeast

Re: momjian.us is down?

2018-03-04 Thread Igal
On 03/04/2018 07:24 PM, Adrian Klaver wrote: On 03/04/2018 05:53 PM, Igal wrote: I am trying to connect to http://momjian.us/ but I get connection timeout (from Firefox): Works for me from FF. Maybe a caching issue? Have you tried: Ctrl + Shift + R Thanks, I'm not  sure if something

momjian.us is down?

2018-03-04 Thread Igal
Igal

Migrate2Postgres - A new tool for migration from other DBMSs

2018-02-18 Thread Igal Sapir
https://youtu.be/5eF9_UB73TI For the impatient, this is the point in the video where I start using the tool (so you can watch that first and then later watch the overview and the configuration options from the beginning); https://youtu.be/5eF9_UB73TI?t=9m51s Feedback welcome! Thank you, Igal

DOW is 0-based?

2018-02-08 Thread Igal @ Lucee.org
Is there a rational reason why Day of the Week is 0-based, i.e. Sunday (0) to Saturday (6) instead of the more intuitive Sunday (1) to Saturday (7)?     SELECT date_part('dow', current_date); https://www.postgresql.org/docs/current/static/functions-datetime.html Thanks, Igal S

Consider Spaces in pg_trgm for Better Similarity

2018-01-28 Thread Igal @ Lucee.org
four" is more similar to "one two three" than to "three two one". Any thoughts? Igal Sapir Lucee Core Developer Lucee.org <http://lucee.org/>

How to Optimize pg_trgm Performance

2018-01-28 Thread Igal @ Lucee.org
time: 163.174 ms | How can I improve the performance here? Thank you, Igal Sapir Lucee Core Developer Lucee.org <http://lucee.org/>

Re: pg_trgm Extension Installed but Operators and Functions do not exist

2018-01-28 Thread Igal @ Lucee.org
On 1/28/2018 12:35 PM, Tom Lane wrote: "Igal @ Lucee.org" writes: I am trying to run a query which was working a few weeks ago, and it utilizes the <<-> operator but I am getting an error: operator does not exist text <<-> text. If I try to install the pg_trgm exte

pg_trgm Extension Installed but Operators and Functions do not exist

2018-01-28 Thread Igal @ Lucee.org
y(text, text) does not exist. If I try to install the pg_trgm extension with `CREATE EXTENSION pg_trgm;` I get an error: extension "pg_trgm" already exists. Running PostgreSQL 10.1, compiled by Visual C++ build 1800, 64-bit Any ideas?  Thanks, Igal Sapir Lucee Core Developer Lucee.org <http://lucee.org/>

Re: Returning Values from INSERT ON CONFLICT DO NOTHING

2018-01-02 Thread Igal Sapir
update will return values while do nothing will not. > That explains it, thank you. > > 2018-01-02 15:43 GMT+08:00 Igal Sapir : > >> It seems that if I do a simple update it resolves my issue: >> >> INSERT INTO users(email, name) >> VALUES('u...@domain.

Re: Returning Values from INSERT ON CONFLICT DO NOTHING

2018-01-01 Thread Igal Sapir
x::text::int > 0) as existed; But if anyone has a better solution then I'd love to hear it. Thanks, Igal On Mon, Jan 1, 2018 at 11:07 PM, Igal Sapir wrote: > Hello, > > I want to use the "UPSERT" syntax for returning an ID if it exists, or > inserting a re

Returning Values from INSERT ON CONFLICT DO NOTHING

2018-01-01 Thread Igal Sapir
r_id, (xmax::text::int > 0) as existed; When an email address does not exist then it works fine and I get the new user_id, but when it does exist, I get no results at all. How can I get the results in case of a CONFLICT? Thanks, Igal

Re: [OT] subscribtion with no-mail option?

2017-12-25 Thread Igal Sapir
I don't think that it's possible, but why don't you open a free gmail account or another web-based email service that's available in your region/language and subscribe to all of the mailing lists through that account? Igal On Mon, Dec 25, 2017 at 2:49 AM, Michelle Konzack &l

Re: Scheme conversion MySQL to PGSQL

2017-12-24 Thread Igal @ Lucee.org
Michelle, On 12/24/2017 1:20 PM, Michelle Konzack wrote: Hello Igal Am 2017-12-24 hackte Igal @ Lucee.org in die Tasten: I am doing a similar thing migrating from SQL Server, and I am considering to publish an open source Migrator. Can you tell me about some of the data types that you had to

Re: Scheme conversion MySQL to PGSQL

2017-12-24 Thread Igal @ Lucee.org
thing migrating from SQL Server, and I am considering to publish an open source Migrator. Can you tell me about some of the data types that you had to change moving from MySQL to Postgres? Thanks, Igal Sapir Lucee Core Developer Lucee.org <http://lucee.org/>

Group Roles with Inheritance

2017-12-23 Thread Igal @ Lucee.org
role_rawd; GRANT role_ra TO role_rawd; GRANT INSERT ON ALL TABLES IN SCHEMA TO role_rawd; ALTER DEFAULT PRIVILEGES IN SCHEMA     GRANT UPDATE, DELETE ON TABLES TO role_rawd; Thank you, Igal Sapir Lucee Core Developer Lucee.org